J
Jonathan Cooper
A while back, I posted a question about a formula (see below). I did receive an answer and I've integrated it into my worksheet. The problem is, there are 25,000 rows in this data table, and there are four formulas for every row, so about 100,000 cells with this formula in it. So it takes about 10 minutes for Excel to recalculate this information. There has got to be an easier way. Please read previous post below
Also, I'm thinking that DGET might work, if I could figure out how to structure the argument
formula
=INDEX(mapping!G$5:G$1006,SUMPRODUCT(MAX((mapping!$A$1:$A$1006<=$C5)*(mapping!$B$1:$B$1006>=$C5)*(mapping!$C$1:$C$1006<=$D5)*(mapping!$D$1:$D$1006>=$D5)*(mapping!$E$1:$E$1006<=$A5)*(mapping!$F$1:$F$1006>=$A5)*ROW(mapping!$A$1:$A$1006)-4))
Previous Post
----- Jonathan Cooper wrote: ----
This will work, but I was hoping for something shorter
I'd also like the formula to return an error if more than one match exists
----- Frank Kabel wrote: ----
H
try the following formul
=INDEX(G1:G1000,SUMPRODUCT(MAX(('sheet1'!A1:A100<=A1)*('sheet1'!B1:B10
-
Regard
Frank Kabe
Frankfurt, German
and F), then I want to know the text in column G
criteria. I don't think sumproduct will work, because the answer I'
looking for is text
Also, I'm thinking that DGET might work, if I could figure out how to structure the argument
formula
=INDEX(mapping!G$5:G$1006,SUMPRODUCT(MAX((mapping!$A$1:$A$1006<=$C5)*(mapping!$B$1:$B$1006>=$C5)*(mapping!$C$1:$C$1006<=$D5)*(mapping!$D$1:$D$1006>=$D5)*(mapping!$E$1:$E$1006<=$A5)*(mapping!$F$1:$F$1006>=$A5)*ROW(mapping!$A$1:$A$1006)-4))
Previous Post
----- Jonathan Cooper wrote: ----
This will work, but I was hoping for something shorter
I'd also like the formula to return an error if more than one match exists
----- Frank Kabel wrote: ----
H
try the following formul
=INDEX(G1:G1000,SUMPRODUCT(MAX(('sheet1'!A1:A100<=A1)*('sheet1'!B1:B10
C1)*('sheet1'!F1:F100>=C1)*ROW('sheet1'!A1:A100)))=A1)*('sheet1'!C1:C100<=B1)*('sheet1'!D1100>=B1)*('sheet1'!E1:E100<
-
Regard
Frank Kabe
Frankfurt, German
etc...) that will check several variable rangesB), sub account range (column C and D) and department range (columnJonathan Cooper said:I'm looking to write some type of lookup formula (match, offset
and F), then I want to know the text in column G
to lookup the text value in column G of the row that meets thesfind the row where 50000 is >= column A, and <=column B an
find the row where 300 is >= column C, and <=column D an
find the row where 50 is >= column E, and <=column
criteria. I don't think sumproduct will work, because the answer I'
looking for is text