I am wondering if there is an If then macro that can be used to convert a number in one cell to a predefined set number in another cell.
I am working on a retail cost spreadsheet for a point of sales database.
I have a pricing formula that goes:
$2.00-$3.99 cost will be $9.99 markup
$4.00-$4.99 cost will be $12.99 markup
$5.00-$6.99 cost will be $17.99 markup
and so on all the way to $200 cost.
What I would like to do is put the actual cost in one cell and have a predefined If then with my pricing formula to set the retail markup in another adjacent cell.
For example:
saying C is cell A2-A1000 for example
and R is cell B2-B21000
cost = C
retail = R
If C =< 3.99
Then R = 9.99
If C =< 4.99
Then R = 12.99
etc etc.
I don't know how in excel to associate cells into VBA any help on how to set this up or help would be great
Bookmarks