I am connecting a clients Access database to a website but need to add a new column with data generated from 2 existing columns.
In short:
Column A contains text entries of either “4 Minute”, “8 Minute” or “12 Minute”.
Column B contains an amount (anything from 0 to 20)
I want to create a new column that runs along the lines of:
If Column A = "4 Minute" Then
Column C = Column B * 4
And so on.
There are currently around 3000 records to amend before I upload and connect to the website.
Assuming text values in Column A are always
[0-99] Minutethen this will give you the value of the new column:If you want to store this value as a database column (though as @Remou comments … why would you?) then: