LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default if then statement with a vlookup?

A little clarification please...

1. When you say "search the workbook", do you mean search on every worksheet
in the workbook except for the last worksheet? Or did you actually mean to
search on a single worksheet? If only a single worksheet, what is that
worksheet's name?

2. What range on the worksheet(s) is to be searched? A single column or row?
Multiple columns or rows? Which column(s) or row(s) are they?

3. The **only** thing you want placed in Column K on the last worksheet is a
number? Nothing else related to the found text is going to be put on that
worksheet... just a column of numbers???

4. What is the worksheet name of your "last page"?

--
Rick (MVP - Excel)


"AwesomeSean" wrote in message
...
Hello,
I am trying to come up some code to search a workbook for numbers and
then put them in a column on the last page but if the number already
exists,
do nothing. I need it to do this everytime I run the macro. Any ideas?

here is an example:

look for "day" if true then i want the number in column j on that page to
go
to the last page in column k, but if the number is already there then do
nothing. if it is not there then the next cell down.

Does this make any sense? I think I confused myself.

Any help is appreciated

Thank you


 
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, if statement, maybe an and statement Jennifer Excel Discussion (Misc queries) 1 February 26th 10 03:30 AM
Vlookup and If statement help JessM Excel Worksheet Functions 1 February 16th 09 09:44 PM
Vlookup or IF statement GuinnessT Excel Worksheet Functions 5 August 21st 08 09:27 PM
Using an IF statement, or VLOOKUP statement Tim Williams Excel Programming 0 December 8th 06 09:41 PM
If Statement with VLookup Shams Excel Worksheet Functions 3 October 16th 06 07:16 PM


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