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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
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,223,889
Messages
6,175,223
Members
452,620
Latest member
dsubash

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