If Statement help using two dropdown options

jmneal

New Member
Joined
Jul 20, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi All, I am working on a spreadsheet and need to create an if statement for column Q based on what a user selects in another column. See below for details: You will see in column M that I have two options: "compressed" and non-compressed". If the user selects "non-compressed", column Q should reflect what is in column O. If the user selects "compressed" then I need the cell in column Q to have the formula =O13/12*10. Any help would be greatly appreciated!

If the user selects "non-compressed" in column M, then column Q should simply shoe the rent in column O...
1663007682814.png




If the user selects "compressed in the dropdown in column M, then column Q will have the below calculation....
1663007640774.png
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
I'd think you could use:
Excel Formula:
=IF(M13="Compressed",O13/12*10,IF(M13="Non-Compressed",O13,""))
 
Upvote 0
I tried this formula and it appears to be working perfectly. Thank you for the help and prompt response!
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,551
Members
449,088
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top