Replacing Nested IFS with LOOKUP

MorranJuke

New Member
Joined
Jul 17, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Dear All,

I have an issue.
I have a table that contain salesmen, selling channel, and their achievement. I'd like to fill the incentive column using formula but I don't want to use nested If. I'd like to use lookup table instead. Here is my incentive table

NameChannel% Ach.Incentive
RoxyMedical70%
SamConsumer89%
NanaMedical50%
DunnConsumer40%

Here is my lookup table:
ChannelMinimum %Ach.Incentive
Medical65%$40
Consumer50%$40

Is there any easy way to solve this issue instead of using nested if? Please kindly help me. Thank you.

Best Regards,
Morran
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Just LOOKUP is enough
Working with 1st row, Roxy. Because I dont know what range/ table address are, let call "Channel" is her chanel, "% Ach" is her achivement.
Her incentive should be:

=LOOKUP(2,1/(LOOKUP_table_column_1="Channel")/(LOOKUP_table_column_2<="% Ach"),LOOKUP_table_column_3)
 
Upvote 0
Solution
Just LOOKUP is enough
Working with 1st row, Roxy. Because I dont know what range/ table address are, let call "Channel" is her chanel, "% Ach" is her achivement.
Her incentive should be:

=LOOKUP(2,1/(LOOKUP_table_column_1="Channel")/(LOOKUP_table_column_2<="% Ach"),LOOKUP_table_column_3)
Thanks @bebo021999 ! Would you mind to tell me what is "2" in the Lookup function means?
 
Upvote 0
How about this one? Please kindly find my image below. Please let me know your thought about this problem. Thanks @bebo021999
Lookup issue.png
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,193
Members
452,616
Latest member
intern444

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