Multiple Queries

Excel_77

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

I was wondering how to carry out the below query

If column W has a yes value and column AE contains "AUD", I want the formula to return the value in AJ, however if it's a "No" in column "W" and AE contains "AUD" I want the value in AP returned.

However if the value in column AE contains anything other than "AUD," and column w has a "Yes" value I wan the query to multiply the value in AD by 1.3, otherwise if the value is a no I want the value in AE to be multiplied by 1.3.

Is this possible and if so how?
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Perhaps

=IF(AE2="AUD", IF(W2="Yes", AJ2, AP2), IF(W2="Yes", AD2*1.3, AE2*1.3))
 
Upvote 0
hey,

can you put some sample data up showing all possible outcomes ?

Certainly.

W = Yes
AE = AUD

If this is true return the value in AJ.

W = No
AE = AUD

If this is true return the value in AP.

W = Yes
AE = Anything other than "AUD".

If this is true then I want the value in AD*1.3

W = No
AE = Anything other than "AUD".

If this is true I want AE*1.3
 
Upvote 0

Forum statistics

Threads
1,214,556
Messages
6,120,190
Members
448,949
Latest member
keycalinc

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