Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
spalmarez
 
Posts: n/a
Default Lookup Doesn't Work


I am using lookup but and it works for maybe 100 to 150 rows but if it
is 254 it doesn't work for me.
I am looking up this value 238355 which is my 2 and date of 01/03/05 in
F2
so I am searching A2:A100 which works (result is 12/27/04) but if I go
to A254 it doesn't work. I get the last date value of C254. How can I
accomplish this part.

=LOOKUP(CONCATENATE("2",F2),A2:A100,C2:C100)

138344 1 12/23/04
138377 1 01/25/05
138406 1 02/23/05
138435 1 03/24/05
138467 1 04/25/05
138496 1 05/24/05
138526 1 06/23/05
138558 1 07/25/05
138587 1 08/23/05
138617 1 09/22/05
138646 1 10/21/05
138677 1 11/21/05
238348 2 12/27/04
238378 2 01/26/05
238407 2 02/24/05
238439 2 03/28/05
238468 2 04/26/05
238497 2 05/25/05
238527 2 06/24/05
238559 2 07/26/05
238588 2 08/24/05
238618 2 09/23/05
238649 2 10/24/05
238678 2 11/22/05


--
spalmarez
------------------------------------------------------------------------
spalmarez's Profile: http://www.excelforum.com/member.php...o&userid=15961
View this thread: http://www.excelforum.com/showthread...hreadid=276426

  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
use
=VLOOKUP("2" &F2,A2:C100,3,0)


--
Regards
Frank Kabel
Frankfurt, Germany

"spalmarez" schrieb im
Newsbeitrag ...

I am using lookup but and it works for maybe 100 to 150 rows but if

it
is 254 it doesn't work for me.
I am looking up this value 238355 which is my 2 and date of 01/03/05

in
F2
so I am searching A2:A100 which works (result is 12/27/04) but if I

go
to A254 it doesn't work. I get the last date value of C254. How can I
accomplish this part.

=LOOKUP(CONCATENATE("2",F2),A2:A100,C2:C100)

138344 1 12/23/04
138377 1 01/25/05
138406 1 02/23/05
138435 1 03/24/05
138467 1 04/25/05
138496 1 05/24/05
138526 1 06/23/05
138558 1 07/25/05
138587 1 08/23/05
138617 1 09/22/05
138646 1 10/21/05
138677 1 11/21/05
238348 2 12/27/04
238378 2 01/26/05
238407 2 02/24/05
238439 2 03/28/05
238468 2 04/26/05
238497 2 05/25/05
238527 2 06/24/05
238559 2 07/26/05
238588 2 08/24/05
238618 2 09/23/05
238649 2 10/24/05
238678 2 11/22/05


--
spalmarez
---------------------------------------------------------------------

---
spalmarez's Profile:

http://www.excelforum.com/member.php...o&userid=15961
View this thread:

http://www.excelforum.com/showthread...hreadid=276426


  #3   Report Post  
Ken Wright
 
Posts: n/a
Default

Assuming the 138344s are numbers then try:-

=SUMPRODUCT((B2:B100=2)*(C2:C100=F2)*(A2:A100))

Sumproduct allows you to specify more than one criteria in the arguments

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------



"spalmarez" wrote in message
...

I am using lookup but and it works for maybe 100 to 150 rows but if it
is 254 it doesn't work for me.
I am looking up this value 238355 which is my 2 and date of 01/03/05 in
F2
so I am searching A2:A100 which works (result is 12/27/04) but if I go
to A254 it doesn't work. I get the last date value of C254. How can I
accomplish this part.

=LOOKUP(CONCATENATE("2",F2),A2:A100,C2:C100)

138344 1 12/23/04
138377 1 01/25/05
138406 1 02/23/05
138435 1 03/24/05
138467 1 04/25/05
138496 1 05/24/05
138526 1 06/23/05
138558 1 07/25/05
138587 1 08/23/05
138617 1 09/22/05
138646 1 10/21/05
138677 1 11/21/05
238348 2 12/27/04
238378 2 01/26/05
238407 2 02/24/05
238439 2 03/28/05
238468 2 04/26/05
238497 2 05/25/05
238527 2 06/24/05
238559 2 07/26/05
238588 2 08/24/05
238618 2 09/23/05
238649 2 10/24/05
238678 2 11/22/05


--
spalmarez
------------------------------------------------------------------------
spalmarez's Profile:
http://www.excelforum.com/member.php...o&userid=15961
View this thread: http://www.excelforum.com/showthread...hreadid=276426



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.789 / Virus Database: 534 - Release Date: 07/11/2004


  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default


spalmarez Wrote:
I don't think I explained my description correctly.

This Lookup function works returns value 238348 (I am looking for
238355):
=LOOKUP(CONCATENATE("2",F2),A2:A100,C2:C100)

I would like to do this but it doesn't work. It returns the value in
row 254 (I am looking for 23855), My return value should be 238348 but
it isn't. Why would it work up to 100 or so rows and not more rows?:

=LOOKUP(CONCATENATE("2",F2),A2:A254,C2:C254)


That formula cannot return either 238348 or 238355 since what it
returns is necessarily a date because of C2:C254.

Having said that, What does F2 house?


--
Aladin Akyurek
------------------------------------------------------------------------
Aladin Akyurek's Profile: http://www.excelforum.com/member.php...fo&userid=4165
View this thread: http://www.excelforum.com/showthread...hreadid=276426

Reply
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
Service work order schoolgeek63 Charts and Charting in Excel 1 January 7th 05 08:07 PM
need check two worksheets to lookup a value Clay Excel Discussion (Misc queries) 2 January 5th 05 08:35 AM
The colors should work properly in Shared Excel Workbooks. [email protected] Excel Worksheet Functions 1 November 8th 04 10:55 PM
Lookup with logic Former Excel Queen Excel Worksheet Functions 1 November 3rd 04 11:22 AM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 06:47 PM.

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

About Us

"It's about Microsoft Excel"