I have the following formula running which enters a number based on the selection from a dropdown list in cell C24, which works fine:
=IF(C24="",0,IF(C24="Green",115,IF(C24="Red",135,IF(C24="Blue",160,IF(C24="Yellow",180,IF(C24="Orange",120))))))
However I would also like to subject this formula to the results of a second dropdown list, which will include a factor to be applied to each of the colour options, which is based on location. I have a list of about 6 locations, with factors ranging from 0.8 to 1.2. So for instance, if I was to select Green and the location with a factor of 0.8, it would multiply 115 x 0.8. Or if I was to select Yellow and the location with a factor of 1.2, it would multiply 180 x 1.2.
The second dropdown list does not include the multiplication factor, just the location name. The location factors are situated in the column next to the source for the dropdown list.
Any ideas on how I could pull this all together in one formula please?
Bookmarks