LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Lookup within a range

Curious, as your desired return from col C are text (not numbers)
doesn't your sumproduct expression:
SUMPRODUCT(--(A1:A3<=1050),--(B1:B3=1050),C1:C3)

return a zero?

I'd use this more generic index/match to do the job, normal ENTER:
=INDEX(C1:C3,MATCH(1,INDEX((A1:A3<=1050)*(B1:B3=1 050),),0))

--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"Carissa" wrote:
Unfortunately that didn't work, but I found a work around. I seperated the
min and max account values into two columns. Then I used the formula below
(ex. to look for account #1050 wich would fall into the 1001-2000 range)

SUMPRODUCT(--(A1:A3<=1050),--(B1:B3=1050),C1:C3)

Account Min: Account Max: Grouping:
0001 1000 Loans
1001 2000 Deposits
2001 3000 Equity


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Function Range Lookup AGAIN! robert Excel Worksheet Functions 3 January 23rd 09 10:40 PM
Lookup range help Tom Excel Discussion (Misc queries) 2 October 27th 08 09:10 PM
help with lookup and range Mona Excel Worksheet Functions 3 January 10th 08 11:48 PM
Lookup in a range. Paul Excel Discussion (Misc queries) 4 February 1st 06 08:51 PM
Range Lookup Jake Excel Discussion (Misc queries) 2 April 28th 05 11:02 PM


All times are GMT +1. The time now is 11:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"