Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default match dates in two columns get value from third

I have a data set on daily basis and another data set on weekly basis. i want
to put the weekly data in daily data set by putting a formula which picks
values from col c for relevant dates in daily set. example - let us say this
is the data set

ColA Col B Col C
jan1 jan1 8
jan2 jan7 7
jan3
jan4
jan5
jan6
jan7

I want the data from colC against dates in ColA as in ColD below. it should
leave other cells blank (colA and ColB are dates format)
ColA Col B Col C ColD
jan1 jan1 8 8
jan2 jan7 7
jan3
jan4
jan5
jan6
jan7 7

Kindly suggest a formula
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default match dates in two columns get value from third

Try this in D1:

=IF(ISNA(MATCH(A1,B:B,0)),"",VLOOKUP(A1,B:C,2,0))

Then copy down.

Hope this helps.

Pete

On Dec 17, 7:59*am, jaichander
wrote:
I have a data set on daily basis and another data set on weekly basis. i want
to put the weekly data in daily data set by putting a formula which picks
values from col c for relevant dates in daily set. example - let us say this
is the data set

ColA * * * *Col B * * *Col C * * * *
jan1 * * * * jan1 * * * *8 * * * * * * *
jan2 * * * * jan7 * * * *7
jan3
jan4
jan5
jan6
jan7

I want the data from colC against dates in ColA as in ColD below. it should
leave other cells blank (colA and ColB are dates format)
ColA * * * *Col B * * *Col C * * * * ColD
jan1 * * * * jan1 * * * *8 * * * * * * * 8
jan2 * * * * jan7 * * * *7 * * * * *
jan3
jan4
jan5
jan6
jan7 * * * * * * * * * * * * * * * * * * * * *7

Kindly suggest a formula


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
Need to match 2 columns, if a match found add info from 2nd column Stratton Excel Worksheet Functions 1 October 8th 08 02:55 PM
match two columns (with equal dates) and their attached datasets Claudia Excel Discussion (Misc queries) 1 September 1st 06 04:16 AM
help with sorting text in columns to match other columns rkat Excel Discussion (Misc queries) 1 August 11th 06 03:42 AM
Using MATCH with dates [email protected] Excel Worksheet Functions 1 July 8th 06 01:32 AM
How To Match Dates Robert Gillard Excel Discussion (Misc queries) 1 February 26th 05 11:43 PM


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