IF Function

Natalie18

New Member
Joined
Nov 5, 2024
Messages
1
Office Version
  1. 2021
Platform
  1. Windows
Hi everyone,

I am creating a Project management sheet. In Column B I will have a drop down menu saying either
- Need Quote
- Quote Sent
- PO received
- In Progress
- Complete
I would like to have a Cell on the top of the sheet that says Project Open, and for it to say yes or no automatically when the status says specific items. For example, if anywhere in the status column it says "Need Quote" "Quote Sent" "PO Received" "In Progress", than the top cell will says "yes" project open.

When I use the If function it gives me a spill error.
=If($B$5:$B$25="Need Quote""Quote Sent""PO Received""In Progress","Yes","No"
1730815507148.png


I don't want the whole column to say yes or no, which is what happens when I fix the spill error. Please advise.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi & welcome to MrExcel.
How about
Excel Formula:
=IF(sum(COUNTIFS(b:b,{"Need Quote","Quote Sent","PO Received","In Progress"})),"Yes","No")
 
Upvote 0

Forum statistics

Threads
1,224,816
Messages
6,181,139
Members
453,021
Latest member
Justyna P

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