Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Auto counting
I got dates under column A and days passed by since date in column A in
Column B. How do I ask it to auto calculate the days passed with reference to the date in real time. Example: A B 5 march 2010 11days 10 march 2010 6days Given today's date is 17 march 2010 -- Thanks! help me |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Auto counting
Try
=TODAY()-A1-1 & " days" -- Jacob "ernie" wrote: I got dates under column A and days passed by since date in column A in Column B. How do I ask it to auto calculate the days passed with reference to the date in real time. Example: A B 5 march 2010 11days 10 march 2010 6days Given today's date is 17 march 2010 -- Thanks! help me |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Auto counting
thanks very useful much indeed. =)
-- help me "Jacob Skaria" wrote: Try =TODAY()-A1-1 & " days" -- Jacob "ernie" wrote: I got dates under column A and days passed by since date in column A in Column B. How do I ask it to auto calculate the days passed with reference to the date in real time. Example: A B 5 march 2010 11days 10 march 2010 6days Given today's date is 17 march 2010 -- Thanks! help me |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Auto counting
what if i want to exclude the weekends till today. possible ?
Thanks -- help me "Jacob Skaria" wrote: Try =TODAY()-A1-1 & " days" -- Jacob "ernie" wrote: I got dates under column A and days passed by since date in column A in Column B. How do I ask it to auto calculate the days passed with reference to the date in real time. Example: A B 5 march 2010 11days 10 march 2010 6days Given today's date is 17 march 2010 -- Thanks! help me |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Auto counting
Try
=SUMPRODUCT(INT((TODAY()-A1+WEEKDAY(A1-{2,3,4,5,6}))/7)) OR (From Analysis Tool Pak Add-In) =NETWORKDAYS(A1,TODAY()) -- Jacob "ernie" wrote: what if i want to exclude the weekends till today. possible ? Thanks -- help me "Jacob Skaria" wrote: Try =TODAY()-A1-1 & " days" -- Jacob "ernie" wrote: I got dates under column A and days passed by since date in column A in Column B. How do I ask it to auto calculate the days passed with reference to the date in real time. Example: A B 5 march 2010 11days 10 march 2010 6days Given today's date is 17 march 2010 -- Thanks! help me |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Auto counting
okay! thanks. I got exactly what I want. But I'm really interested to know
how it works.. Can you explains to me ? Please. Thanks you. -- help me "Jacob Skaria" wrote: Try =SUMPRODUCT(INT((TODAY()-A1+WEEKDAY(A1-{2,3,4,5,6}))/7)) OR (From Analysis Tool Pak Add-In) =NETWORKDAYS(A1,TODAY()) -- Jacob "ernie" wrote: what if i want to exclude the weekends till today. possible ? Thanks -- help me "Jacob Skaria" wrote: Try =TODAY()-A1-1 & " days" -- Jacob "ernie" wrote: I got dates under column A and days passed by since date in column A in Column B. How do I ask it to auto calculate the days passed with reference to the date in real time. Example: A B 5 march 2010 11days 10 march 2010 6days Given today's date is 17 march 2010 -- Thanks! help me |
#7
Posted to microsoft.public.excel.misc
|
|||
|
|||
Auto counting
The array gives the day numbers for the days Monday through Friday. For
example if you want to get a count of weekend days change that to {1,7} You could re-write the formula as below...which will only consider the weekdays which are specified in the array =SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&TODAY())))={2,3,4,5,6 })) -- Jacob "ernie" wrote: okay! thanks. I got exactly what I want. But I'm really interested to know how it works.. Can you explains to me ? Please. Thanks you. -- help me "Jacob Skaria" wrote: Try =SUMPRODUCT(INT((TODAY()-A1+WEEKDAY(A1-{2,3,4,5,6}))/7)) OR (From Analysis Tool Pak Add-In) =NETWORKDAYS(A1,TODAY()) -- Jacob "ernie" wrote: what if i want to exclude the weekends till today. possible ? Thanks -- help me "Jacob Skaria" wrote: Try =TODAY()-A1-1 & " days" -- Jacob "ernie" wrote: I got dates under column A and days passed by since date in column A in Column B. How do I ask it to auto calculate the days passed with reference to the date in real time. Example: A B 5 march 2010 11days 10 march 2010 6days Given today's date is 17 march 2010 -- Thanks! help me |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
counting function but not double counting duplicates | Excel Worksheet Functions | |||
Auto-populate, Auto-copy or Auto-fill? | Excel Worksheet Functions | |||
Counting items in auto filter - how? | Excel Discussion (Misc queries) | |||
Counting rows, then counting values. | Excel Discussion (Misc queries) | |||
Auto Filter Counting | Excel Worksheet Functions |