Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I have a spreadsheet that contains daily sales data. Very occasionally, we have sales recorded against a non working day. What I want to do is to add these sales to the previous working day as if they were actually taken on that day. Example: This could be the data I start with: Date Sales 15/09/03 $100 16/09/03 $150 17/09/03 $120 18/09/03 $130 19/09/03 $180 21/09/03 $110 22/09/03 $250 I want to translate this to: Date Sales 15/09/03 $100 16/09/03 $150 17/09/03 $120 18/09/03 $130 19/09/03 $290 22/09/03 $250 (notice that sales for the Sunday 21st have been added to the 19th) Any ideas how I can achieve this? I've started to use Vlookup against a static range that only contains working dates, and this will return the previous value in the range if the exact value doesn't exist, (so the Sales on the 21st will return the value 18/09/03) but after that I got stuck. Thanks in advance Alex |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calculate working days but change working week | Excel Discussion (Misc queries) | |||
Working with dates previous 1900 | Excel Discussion (Misc queries) | |||
adding only working days to dates | Excel Discussion (Misc queries) | |||
Adding Working Days to a Formula | Excel Discussion (Misc queries) | |||
Working days left in the month compared to previous months | Excel Worksheet Functions |