Help with OR formula

Cliffork

New Member
Joined
Feb 12, 2020
Messages
18
Office Version
  1. 365
Hi guys,

Meter Repair Compilation File -Template.xlsm
B
3Customer 1
4REMINDER: Ship on our account with 2-day shipping
Customer Info
Cell Formulas
RangeFormula
B4B4=IF(ISNUMBER(SEARCH("Customer 1",B3)),"REMINDER: Ship on our account with 2-day shipping","")


I have a set of cells that I've shown above for reference. The first lists what customer's equipment I am currently working on. The second is on a later sheet, and if it is "Customer 1" in my customer cell, it placed a note to remind me they have specific shipping instructions.

I now have a second customer that is requesting something specific, and I would like to change this into something like an OR function, that says "if Customer 1, note 1. if Customer 2, note 2." But I cannot seem to get an OR function to work this way, I keep getting errors. Either I'm misunderstanding how OR functions should be written, or their purpose in general. Help?
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
81,804
Office Version
  1. 365
Platform
  1. Windows
How about
Excel Formula:
=IF(B3="Customer 1","REMINDER: Ship on our account with 2-day shipping",IF(B3="Customer 2","What do you want to say?",""))
 
Upvote 0
Solution

Cliffork

New Member
Joined
Feb 12, 2020
Messages
18
Office Version
  1. 365
How about
Excel Formula:
=IF(B3="Customer 1","REMINDER: Ship on our account with 2-day shipping",IF(B3="Customer 2","What do you want to say?",""))
That works great! Written much cleaner than my original as well, thank you!
 
Upvote 0

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
81,804
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,187,188
Messages
5,962,103
Members
438,585
Latest member
peterLEE0223

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
Top