LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default IF function to return date content of another cell

I have searched many posts but cant seem to find anything similar, so I am
having to ask for assistance please. Im sure it will be a piece of cake for
someone, given the very in-depth issues Ive been searching through!

I have many workbooks that I may need to apply this to, each with many
thousands of lines.

I am importing this data from an Access database (that I cant modify as
its not mine).

I import each sheet as follows:

B C D E
1 Date Item Qty Identity
2 11/14/2007 Apple 1 Customer A
3 Banana 1 Customer A
4 11/14/2007 Apple 1 Customer B
5 11/14/2007 Apple 1 Customer C
6 Orange 2 Customer C
7 11/14/2007 Orange 1 Customer D

But where the same customer has bought more than one item on a day, the date
is missing for the second item.

I need to create a pivot table based on all this data, however as I have
blank date cells, obviously the table doesnt complete correctly.

I had thought the easiest way to get round this would be to insert a column
before the Date column and insert a formula. I have tried =IF(B30,B3,B2).
i.e. if the cell to the right has a date in it, insert that date, otherwise
insert the date from the row before. (There will never be an instance where
the date for the first item purchased is blank.) However Im obviously
missing something as this doesnt work.

Ive also tried =IF(B30,B3,IF(B3<=0,B2)). But that doesnt work either.

I am very grateful for any help.
Les
 
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
Excel 2003 - Split Content of Cell w/Text Separator (Return) DeeW Excel Worksheet Functions 3 April 3rd 08 12:11 AM
Using Formula based Cell Content Return Unique Consecutive Duplicate Values Sam via OfficeKB.com Excel Worksheet Functions 8 February 7th 07 11:33 PM
how to compare cell content to a row pf data in excel and return . Abdel Excel Discussion (Misc queries) 0 December 12th 06 09:43 PM
how in excel, return page numbers in to cell ?(like date function selva Excel Discussion (Misc queries) 4 August 16th 06 10:26 AM
Date Function formula that will return the date of a specific week Greg Excel Worksheet Functions 4 June 12th 06 05:07 PM


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