How would you take the lowest, middle, and highest number from three tables (example attached)

abra

New Member
Joined
Jan 6, 2008
Messages
14
I have three tables, and I am trying to pull the lowest, middle, and highest number for each item per set (as detailed below).

Each table has the same structure and the same Item names.

How would you recommend I do this?

Many thanks.

TABLE 1 - I want to populate this
tmp.xls
ABCDEFGHI
1PricebreaksPerUnit
2
3Item1-1011-2526-5051-100101-150151-200201-500
4aLow1592232447etcetcetc
5aMedium598523102105
6aHigh745687304207
7bLowetc
8bMedium
9bHigh
10cLow
11cMedium
12cHigh
13dLow
14dMedium
15dHigh
16eLow
17eMedium
18eHigh
19fLow
20fMedium
21fHigh
22gLow
23gMedium
24gHigh
How do I do this


Data populates from the tables below that are in the same worksheet

Table 1.
tmp.xls
ABCDEFGHIJK
1ItemItemcodeItemNamePricebreaksPerUnit
2
31-1011-2526-5051-100101-150151-200201-500
4a1dog159523102249744474882
5b2cat329167255313555681686
6c3banana543195685206997113242
7d4phone85939022548028863521
8e5car207182435884400264275
9f6house40741131655769649521
10g7watch941237834395321931
Data_Table1


Table 2:
tmp.xls
ABCDEFGHIJK
1ItemItemcodeItemNamePricebreaksPerUnit
2
31-1011-2526-5051-100101-150151-200201-500
4a1dog59868724105938428560
5b2cat40890942863828692848
6c3banana11259521934722940274
7d4phone280429986668275636219
8e5car50592613121168277592
9f6house775363329781734789324
10g7watch655198492641138963756
Data_Table2


Table 3
tmp.xls
ABCDEFGHIJK
1ItemItemcodeItemNamePricebreaksPerUnit
2
31-1011-2526-5051-100101-150151-200201-500
4a1dog74522330447481613
5b2cat622915139909385485706
6c3banana53737254434831454692
7d4phone53414327789033393474
8e5car951140359957730989299
9f6house26022736293382719705
10g7watch23238267665673107343
Data_Table3
 
Last edited:

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Use MIN, MEDIAN, MAX for low, medium, and high.

i.e.:

=min(100,200,300) returns 100
=median(100,200,300) returns 200
=max(100,200,300) returns 300

Just point to the data cells in your formula. Like:

=min(vlookup("a",mylowtable,4,false),vlookup("a",mymidtable,4,false),vlookup("a",mymaxtable,4,false)) or any variation that you can copy from cell to cell.
 
Upvote 0

Forum statistics

Threads
1,222,095
Messages
6,163,900
Members
451,865
Latest member
dunworthc

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