Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
RC
 
Posts: n/a
Default vlookup on date to text

I want to use a vlookup to get a value for a day of the week where the lookup
value (cell V3) is provided by =TEXT(V4,"dddd"). The first column in the
table is text and I keep getting a #VALUE error using the following syntax
VLOOKUP(V3,$V$48:$W$54,1). Do I need to have a formatting function in the
vlookup or format the target table's text days differently?
Thanks
  #2   Report Post  
PCLIVE
 
Posts: n/a
Default vlookup on date to text

I'm not sure why you'd be getting the #VALUE error. It seems to work fine
on my side. I'm assuming your the first column of your table consists of
Sunday through Saturday. Make sure your table is sorted by the first
column. Other than that, you can combine formula as follows:

=VLOOKUP(TEXT(V4,"dddd"),$V$48:$W$54,1)

HTH,
Paul


"RC" wrote in message
...
I want to use a vlookup to get a value for a day of the week where the
lookup
value (cell V3) is provided by =TEXT(V4,"dddd"). The first column in the
table is text and I keep getting a #VALUE error using the following syntax
VLOOKUP(V3,$V$48:$W$54,1). Do I need to have a formatting function in the
vlookup or format the target table's text days differently?
Thanks



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
vlookup on large text in cells Gus Excel Worksheet Functions 2 February 23rd 06 06:55 PM
Excel keeps converting text to date format John T via OfficeKB.com Excel Discussion (Misc queries) 4 September 12th 05 06:48 PM
vlookup multiple text rows Tanya Excel Discussion (Misc queries) 4 August 15th 05 04:50 PM
Vlookup a value and text raboone Excel Discussion (Misc queries) 1 June 8th 05 08:04 PM
merge unformatted date with text Art Excel Discussion (Misc queries) 2 March 18th 05 05:28 PM


All times are GMT +1. The time now is 01:57 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"