Combine 3 different formulas

thedeadzeds

Active Member
Joined
Aug 16, 2011
Messages
451
Office Version
  1. 365
Platform
  1. Windows
Guys, is there a way to combine the following 3 formulas into 1?
[TABLE="width: 223"]
<tbody>[TR]
[TD]
Code:
 =IF(J2=Q2," WE LEAD @ £", " BOW £")
[/TD]
[/TR]
</tbody>[/TABLE]

Code:
 =IF(R2=J2," LEAVE"," CHANGE TO £")

Code:
 =IF(J2=R2,"",R2)
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Yes, it is called NESTING If statements. But you need to spell out for us the order of precedence. Also, each has a different FALSE argument, so you need to explain to us how all those should work together.
For example, if the first one is FALSE (if J2 does not equal Q2, do you want it to return " BOW £" or do you want it to go on to the next check?

So you need to clarify how all three of these situations need to interact with each other (from a simple logic standpoint, not a technical one).

If they are all independent, and you want to return all three, then you would simply concatenate them, i.e.
Code:
=IF(J2=Q2," WE LEAD @ £", " BOW £") [COLOR=#ff0000]&[/COLOR] IF(R2=J2," LEAVE"," CHANGE TO £") [COLOR=#ff0000]&[/COLOR] IF(J2=R2,"",R2)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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