Multiple IF values for cell

bumfart66

New Member
Joined
Aug 23, 2017
Messages
21
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
=IF(C9="Read Only","n/a",IF(C9="Quarter 4",SUM(D3,0)))

C9 can be Read Only and Quarter 1-4, This checks for Read Only and Quarter 4, how do i get it to check for
Quarter 3 2 and 1
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
if C9= "red" you will get an error message

but to add the other quarters

=IF(C9="Read Only","n/a",IF(C9="Quarter 4",SUM(D3,0),if(c9="Quarter 3",sum(),ifc9="Quarter 2",sum(),sum())),"C9 is none of these")
 
Upvote 0
if C9= "red" you will get an error message

but to add the other quarters

=IF(C9="Read Only","n/a",IF(C9="Quarter 4",SUM(D3,0),if(c9="Quarter 3",sum(),ifc9="Quarter 2",sum(),sum())),"C9 is none of these")

Thanks , not pretty but used this

=IF(C10="Read Only","n/a",IF(C10="Quarter 4",SUM(D5,0),IF(C10="Quarter 3",SUM(D5,0),IF(C10="Quarter 2",SUM(D5,0),IF(C10="Quarter 1",SUM(D5,0))))))
 
Upvote 0
1. you don't need to use SUM to refer to 1 cell, just reference that cell.
2. If you are looking for any 1 of 4 Qtr's, then why even test for that? You can only have 1, 2, 3 or 4 Qtr?
3. try this....
=IF(C10="Read Only","n/a",D5)
 
Last edited:
Upvote 0
1. you don't need to use SUM to refer to 1 cell, just reference that cell.
2. If you are looking for any 1 of 4 Qtr's, then why even test for that? You can only have 1, 2, 3 or 4 Qtr?
3. try this....
=IF(C10="Read Only","n/a",D5)


Thanks
 
Upvote 0

Forum statistics

Threads
1,223,711
Messages
6,174,028
Members
452,542
Latest member
Bricklin

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