Messy formula, Help Required

Excel_77

Active Member
Joined
Sep 15, 2016
Messages
306
Office Version
  1. 2019
Platform
  1. Windows
Hi All,

I need a formula that can include several requirements and any help would be great.

If column A = AUD, I want to check column B for "Yes" and if this is the case I want the values in E and F added together.
If column A = AUD and column B = "No" I want to add the values in F and G together.

If column A = GBP or EUR, I want to check column B for a Yes and then return the values in H and I.
If column A = GBP or EUR, I want to check column B for a "No" and then return the values in H and J.

If column A = anything other than AUD, GBP and EUR, I want to check column B for a "Yes" and then return the values in E and F and then multiply this by the value in U.
If column A = anything other than AUD, GBP and EUR, I want to check column B for a "No"and then return the values in F and G then multiply this by the value in U.

Thanks in advance.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Are you going row by row? Like if A1="AUD", IF(B1="Yes"), E1+F1 .... etc etc and you're going to fill the formula down? Also in what column will this formula be?

Also, when you say "return the values in H and I" what exactly do you mean? Do you want to return those two values in the same cell? Should they be separated by a comma?

"Return the values in F and G then multiply this by" -- multiply what? F or G? Or should we add them together?
 
Upvote 0
Are you going row by row? Like if A1="AUD", IF(B1="Yes"), E1+F1 .... etc etc and you're going to fill the formula down? Also in what column will this formula be?

Also, when you say "return the values in H and I" what exactly do you mean? Do you want to return those two values in the same cell? Should they be separated by a comma?

"Return the values in F and G then multiply this by" -- multiply what? F or G? Or should we add them together?

Yes it will be row by row.

H and I means to add the value of both cells.

Final formula will be in column X.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,554
Messages
6,114,280
Members
448,562
Latest member
Flashbond

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