Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Vlookup with date in Excel 2000 VBA

I am using Excel 2000 with Microsoft Windows 2000.

I would like to vlookup using a date in cell e2 which has the date
in this format: 02/12/07.

I would like to read the cell and subtract 7 so it is the previous
week
and format it mm-dd.

After that, I would like to concatenate the date with "Report for "
with the date ending I have just done.

How do I do it?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 73
Default Vlookup with date in Excel 2000 VBA

On Mar 22, 2:22 pm, "Larry D" wrote:
I am using Excel 2000 with Microsoft Windows 2000.

I would like to vlookup using a date in cell e2 which has the date
in this format: 02/12/07.

I would like to read the cell and subtract 7 so it is the previous
week
and format it mm-dd.

After that, I would like to concatenate the date with "Report for "
with the date ending I have just done.

How do I do it?


Larry,

Search the Excel help for "VLOOKUP" and run through the examples. As
for formatting your dates, there are two options: (1) go to Menu Bar:
Format/Cells/Number tab. Then select the "Date" Category for the
format you want. (2) Select the "Custom" Category and create your
own. As for concatenating, search Excel help for "CONCATENATE" or use
the "&" sign (e.g. ="The Report for " & E2).

Your description is not very good, so hopefully my answer fits what
you asked.

Matt

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 using concatenated values - Excel 2000 Craig A Excel Worksheet Functions 2 February 23rd 09 05:14 PM
What date is7 days from given date in Excel 2000 GregNga Excel Discussion (Misc queries) 13 November 19th 08 07:00 PM
Vlookup using a reference to a named range?(Excel 2000) Joe Excel Discussion (Misc queries) 4 May 19th 08 06:41 AM
Vlookup problem with Access Query import into Excel 2000 Neophyte New Users to Excel 4 July 17th 06 03:31 AM
#VALUE! error: vlookup works in Excel 2000 but not 2003 Nick Ersdown Excel Discussion (Misc queries) 6 November 25th 05 12:23 PM


All times are GMT +1. The time now is 02:39 PM.

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"