Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mike K
 
Posts: n/a
Default LOOKUP funciion giving an error

Oh wise ones,
I think I know why it's in error (#n/a) I just don't
know how to fix it.
I have the following in their respective cells:

=NOW() in B2 with custom format ddddd
Monday Tuesday Wednesday ect in C7:I7 format text
A C C A A C C in C8:I8 format text

The formula in E2 is =LOOKUP(B2,C7:I7,C8:I8)

So B2 shows Tuesday and should find Tuesday in D7 and return C from D8 but I
get a #N/A I think because A2 is really a value and not text. So how can I
get it to ignore the value and evaluate it as text? I need to keep it
dynamic, it will be updating continuesly.

Thanks,
Mike

  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

You're right, the value in B2 is a number that's formatted to display as
Tuesday.

=LOOKUP(TEXT(B2,"ddddd"),C7:I7,C8:I8)

Biff

"Mike K" wrote in message
...
Oh wise ones,
I think I know why it's in error (#n/a) I just don't
know how to fix it.
I have the following in their respective cells:

=NOW() in B2 with custom format ddddd
Monday Tuesday Wednesday ect in C7:I7 format text
A C C A A C C in C8:I8 format text

The formula in E2 is =LOOKUP(B2,C7:I7,C8:I8)

So B2 shows Tuesday and should find Tuesday in D7 and return C from D8 but
I
get a #N/A I think because A2 is really a value and not text. So how can I
get it to ignore the value and evaluate it as text? I need to keep it
dynamic, it will be updating continuesly.

Thanks,
Mike



  #3   Report Post  
Mike K
 
Posts: n/a
Default

Oh wise ones,
I think I know why it's in error (#n/a) I just don't
know how to fix it.
I have the following in their respective cells:

=NOW() in B2 with custom format ddddd
Monday Tuesday Wednesday ect in C7:I7 format text
A C C A A C C in C8:I8 format text

The formula in E2 is =LOOKUP(B2,C7:I7,C8:I8)

So B2 shows Tuesday and should find Tuesday in D7 and return C from D8 but I
get an #N/A I think because B2 is really a value and not text. So how can I
get it to ignore the value and evaluate it as text? I need to keep it
dynamic, it will be updating continuously.

Thanks,
Mike

  #4   Report Post  
Mike K
 
Posts: n/a
Default

Thanks Biff, Works great.

Mike

"Biff" wrote:

Hi!

You're right, the value in B2 is a number that's formatted to display as
Tuesday.

=LOOKUP(TEXT(B2,"ddddd"),C7:I7,C8:I8)

Biff

"Mike K" wrote in message
...
Oh wise ones,
I think I know why it's in error (#n/a) I just don't
know how to fix it.
I have the following in their respective cells:

=NOW() in B2 with custom format ddddd
Monday Tuesday Wednesday ect in C7:I7 format text
A C C A A C C in C8:I8 format text

The formula in E2 is =LOOKUP(B2,C7:I7,C8:I8)

So B2 shows Tuesday and should find Tuesday in D7 and return C from D8 but
I
get a #N/A I think because A2 is really a value and not text. So how can I
get it to ignore the value and evaluate it as text? I need to keep it
dynamic, it will be updating continuesly.

Thanks,
Mike




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
Lookup Function Error Jacinthe Excel Worksheet Functions 2 March 10th 05 07:37 AM
excell 2000 is giving an error "not enough memory" 3Dbesh Excel Discussion (Misc queries) 1 February 8th 05 11:42 PM
Excel help giving runtime error Hari Prasadh Excel Discussion (Misc queries) 1 January 21st 05 01:23 PM
Vlookup & Lookup function error Beginner Excel Worksheet Functions 9 January 11th 05 12:37 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 07:41 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"