To lookup or not ?

kezzaman

New Member
Joined
Aug 10, 2021
Messages
2
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
]Hello everyone,

In general I can find my way in Excel but I am not an expert so I was wondering if someone could help me with the following:

I have a sheet with a lot of columns with different amounts and prizes.
What I want is when I fill in an amount I get the right prize of that article.
And every article is on one row.

Example:

Row 1 --> Column A = Article 001 --> Column B = Here I type in the amount --> Column C = showing price --> Column D = 50.000 --> Column E = € 5,- --> Column F = 100.000 --> Column G = € 4,- etc.....
Row 2 --> Column A = Article 002 --> .........................................

So when I type in colunm B of Row1 the amount 70.000 I must get the price of Column E (5,--) of article 001
when I type in column B of Row1 the amount 102.000 I must get the price of Column F (4,--) of article 001

What is the best way to flight this issue ?
Thank you for your hulp

With kind regards,
Kezzaman
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
"when I type in colunm B of Row1 the amount 70.000 I must get the price of Column E (5,--) of article 001"

Why must you get the price 5 in column E for entering 100 in column B? You havent explained what the reasoning is behind this.
Same goes for entering 102 in B and retrieving 4 (which is not in column F - column F says 100, column G is 4 so which is it column F or G)?
Again need the resoning behind it rather than just saying
"I enter this and I want this"
 
Upvote 0
"when I type in colunm B of Row1 the amount 70.000 I must get the price of Column E (5,--) of article 001"

Why must you get the price 5 in column E for entering 100 in column B? You havent explained what the reasoning is behind this.
Same goes for entering 102 in B and retrieving 4 (which is not in column F - column F says 100, column G is 4 so which is it column F or G)?
Again need the resoning behind it rather than just saying
"I enter this and I want this"
thanks for your reply,

I don't know what you meand with enering 100 in column B.
In Column B I type the amount what the customer is ordering (example 70.000 pieces).
the price which belongs to 70.000 pieces = € 5,-- (amount between 50.000 and 99.999)
 
Upvote 0
Welcome to the MrExcel forum!

That's not the greatest way to lay out your sheet, but you can do something like this:

Book2
ABCDEFGHIJK
1Article 170550510041503.52002
Sheet4
Cell Formulas
RangeFormula
C1C1=INDEX(1:1,AGGREGATE(14,6,COLUMN(D1:J1)/(MOD(COLUMN(D1:J1),2)=0)/(D1:J1<=B1),1)+1)
 
Upvote 0
thanks for your reply,

I don't know what you meand with enering 100 in column B.
In Column B I type the amount what the customer is ordering (example 70.000 pieces).
the price which belongs to 70.000 pieces = € 5,-- (amount between 50.000 and 99.999)
My mistake I meant 70
 
Upvote 0

Forum statistics

Threads
1,215,472
Messages
6,125,005
Members
449,203
Latest member
Daymo66

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