excel magic trick 778, example 6

tpuck2687

New Member
Joined
Dec 12, 2013
Messages
20
Excel Magic Trick 778: INDEX & MATCH Lookup Functions Beginning To Advanced (18 Examples) - YouTube example 6. I have a table similar to this one without the descending numbers as "pipe size". My "pipe sizes" would have to be 0-2, 2.1-4, 4.1-6, 6.1-8, and >8.1. My rainfall would also have to be ranges 0-1000, 1000-2000, 2000-
3000, 3000-4000, and 4000-5000. The corresponding table values are......

1000200030004000
5000
2107541
475
431
6543
21
84
3221
100
11111
<colgroup><col width="73" style="width: 55pt; mso-width-source: userset; mso-width-alt: 2669;" span="6"> <tbody> </tbody>

What value do I need to put in the 100 spot to show anything greater than 8?
if c51=5 and c52=2650 I would need c53=3 and I'm currently getting 5 with...
=INDEX(Sheet2!$G$5:$K$9,MATCH(Schaurer!C51,Sheet2!$F$5:$F$9,1),MATCH(Schaurer!C52,Sheet2!$G$4:$K$4,1))
 
is there a way to do it to keep my current table?

Column1Column2Column3Column4Column5Column6
0to10001000to20002000to30003000to40004000to∞
0to2107541
2.1to475431
4.1to654321
6.1to843221
8.1to∞11111
<colgroup><col width="73" style="width: 55pt; mso-width-source: userset; mso-width-alt: 2669;" span="6"> <tbody> </tbody>
 
Upvote 0

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
I see....... 1169 would fall between 1000 and 2000 but if I had 1000 it would need to fall between 0-1000 and if I had 2000 it would need to fall between 1000-2000. Im just having trouble getting numbers that fall EXACTLY as on of my ranges, ie 2,4,6 or 1000,2000, 3000, to fall in the right range. The last equation seemed to fix the numbers that fell on the row headers, now I need it to work for the column headers
 
Upvote 0
I see....... 1169 would fall between 1000 and 2000 but if I had 1000 it would need to fall between 0-1000 and if I had 2000 it would need to fall between 1000-2000. Im just having trouble getting numbers that fall EXACTLY as on of my ranges, ie 2,4,6 or 1000,2000, 3000, to fall in the right range. The last equation seemed to fix the numbers that fell on the row headers, now I need it to work for the column headers

Your answer should be either 1000 or 2000, not between..
 
Upvote 0
It needs to be in the second column range, 1000-2000, so I'm going to go with 2000 on that one?
01000200030004000
10002000300040005000 28
02107540.66 11692200
2475430.88 72
4654321
6843220.97
81.00E+3080.52.40.83.46.2

<COLGROUP><COL style="WIDTH: 48pt" width=64><COL style="WIDTH: 81pt; mso-width-source: userset; mso-width-alt: 3840" width=108><COL style="WIDTH: 48pt" span=9 width=64><TBODY>
</TBODY>

J4, copied across:
Rich (BB code):
=INDEX($C$3:$G$7,MATCH(J$2,$A$3:$A$7,1)-(LOOKUP(J$2,$A$3:$A$7) = J$2),
  MATCH(J$3,$C$2:$G$2,1)+(LOOKUP(J$3,$C$2:$G$2) < J$3))
Rich (BB code):
 
Upvote 0
That's working great. Now I just have to adjust my table, spreadsheet, and a few cell lookup locations and I should be good. Thanks for your time and effort!!
 
Upvote 0

Forum statistics

Threads
1,215,497
Messages
6,125,160
Members
449,209
Latest member
BakerSteve

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