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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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,224,817
Messages
6,181,147
Members
453,021
Latest member
Justyna P

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