LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 47
Default Hlookup, Vlookup and IF in combination??

I have data that is about 2000 rows and 55 columns. 52 of the columms are
headed with a week starting date. The other columns have product names,
number and number of times ordered (this number is attained by counting the
times a quantity appears in a dated column). The 52 dated columns have the
quantity ordered but each items is not ordered every week. What I would like
to do is:

For the items that have been ordered only once, find the date in the heading
and place that date in a column beside the product name.

Is there a way to write a formula (or macro) that would basically say, "if
the quantity in columm C (the number of times ordered) is equal to 1, look
across the dated columns until a value greater than zero is found and then
copy the date at the head of that column into the cell where the formula is".

Thanks & Happy New Year

Ron R
 
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 & hlookup Anthony Excel Worksheet Functions 1 December 3rd 06 04:11 PM
vlookup and hlookup hotelmasters Excel Worksheet Functions 4 August 15th 06 08:41 PM
Combination of Vlookup & Hlookup Sweepea Excel Discussion (Misc queries) 5 May 4th 06 06:18 PM
can hlookup and vlookup be used in combination ? Arul T Excel Discussion (Misc queries) 2 April 20th 06 10:59 AM
Vlookup and Hlookup Phlogiston2312 Excel Worksheet Functions 1 April 21st 05 04:59 PM


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