#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Lookup and dates

I have a worksheet with the following data:

Name Date Amt 10/01/08 10/02/08 10/03/08 ......
ABC 10/02/08 100
XYZ 10/03/08 200

When I enter the date and the Amt in Cols B and C I would like the Amt to be
inserted into the corresponding date column. In my example 100 should go to
col. E and 200 should go into col. F. Is there a way to do this.

Thanks,
Danielle
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Lookup and dates

Put this formula in D2:

=IF($B2=D$1,$C2,"")

Then copy across and down as required.

Hope this helps.

Pete

On Oct 24, 10:36*am, Danie wrote:
I have a worksheet with the following data:

Name * Date * * * * * * Amt * * *10/01/08 * 10/02/08 * *10/03/08 ......
ABC * * *10/02/08 * * * 100
XYZ * * *10/03/08 * * * *200

When I enter the date and the Amt in Cols B and C I would like the Amt to be
inserted into the corresponding date column. *In my example 100 should go to
col. E and 200 should go into col. F. *Is there a way to do this.

Thanks,
Danielle


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Lookup and dates

try this

in cell D2 put this formula =IF(D$1=$B$2:$B$8,$C2,"") and drag it
across & down





On Oct 24, 2:36*pm, Danie wrote:
I have a worksheet with the following data:

Name * Date * * * * * * Amt * * *10/01/08 * 10/02/08 * *10/03/08 ......
ABC * * *10/02/08 * * * 100
XYZ * * *10/03/08 * * * *200

When I enter the date and the Amt in Cols B and C I would like the Amt to be
inserted into the corresponding date column. *In my example 100 should go to
col. E and 200 should go into col. F. *Is there a way to do this.

Thanks,
Danielle


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Lookup and dates

Thank you so much Pete. It works perfectly.

Danielle

"Pete_UK" wrote:

Put this formula in D2:

=IF($B2=D$1,$C2,"")

Then copy across and down as required.

Hope this helps.

Pete

On Oct 24, 10:36 am, Danie wrote:
I have a worksheet with the following data:

Name Date Amt 10/01/08 10/02/08 10/03/08 ......
ABC 10/02/08 100
XYZ 10/03/08 200

When I enter the date and the Amt in Cols B and C I would like the Amt to be
inserted into the corresponding date column. In my example 100 should go to
col. E and 200 should go into col. F. Is there a way to do this.

Thanks,
Danielle



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Lookup and dates

Thank you so much, it works perfectly.
Danielle

"muddan madhu" wrote:

try this

in cell D2 put this formula =IF(D$1=$B$2:$B$8,$C2,"") and drag it
across & down





On Oct 24, 2:36 pm, Danie wrote:
I have a worksheet with the following data:

Name Date Amt 10/01/08 10/02/08 10/03/08 ......
ABC 10/02/08 100
XYZ 10/03/08 200

When I enter the date and the Amt in Cols B and C I would like the Amt to be
inserted into the corresponding date column. In my example 100 should go to
col. E and 200 should go into col. F. Is there a way to do this.

Thanks,
Danielle





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Lookup and dates

You're welcome, Danielle - thanks for feeding back.

Pete

On Oct 24, 2:39*pm, Danie wrote:
Thank you so much Pete. *It works perfectly.

Danielle

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
Lookup between dates Amanda Excel Discussion (Misc queries) 1 September 22nd 08 01:38 PM
lookup/vlookup for dates, please help! soozanne Excel Worksheet Functions 1 February 23rd 06 04:00 PM
How to lookup the dates of a list that are only the first of the . Snaggle22 Excel Worksheet Functions 3 April 12th 05 10:39 PM
Lookup a date between other dates spalmarez Excel Worksheet Functions 1 November 4th 04 09:48 PM
Lookup a date between other dates spalmarez Excel Worksheet Functions 4 November 2nd 04 09:06 AM


All times are GMT +1. The time now is 07:43 AM.

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"