Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How to make a Let statement in Excel?
I have a list of dates in a column, that is sorted by name and then date.
The dates vary, but in assending order for each person. I have also filtered the data by determining which dates would be sequential, using a break of two days - ie-weekend, as sequential periods. I realize that for two dates, one a monday and one a wednesday or thursday, this would assue a sequential period, but I will then subtotal on a count to determine how many days are in the sequential period to see if it is in agreement. I am trying to write a formula using a LET statement similar to =if(F3=1,Return the value for Duration and then Let Duration=0,Duration+1), Where Duration is a named range that I am trying to work as a counter to determine duration and then rest to zero for each new name in a range. I used to use Let statements, but that may have been in my Lotus 123 days or maybe Cobol. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
How to make a Let statement in Excel?
Thanks Fred. Now to remember my Macro coding. New job, much more data
analysis than last one! "Fred Smith" wrote: Excel is not Cobol. One cell's formula cannot modify another cell. Your choices are to use a macro, which will handle the kind of code you are talking about, or create formula in the Duration cell which will do what you want. -- Regards, Fred "Blain M" <Blain wrote in message ... I have a list of dates in a column, that is sorted by name and then date. The dates vary, but in assending order for each person. I have also filtered the data by determining which dates would be sequential, using a break of two days - ie-weekend, as sequential periods. I realize that for two dates, one a monday and one a wednesday or thursday, this would assue a sequential period, but I will then subtotal on a count to determine how many days are in the sequential period to see if it is in agreement. I am trying to write a formula using a LET statement similar to =if(F3=1,Return the value for Duration and then Let Duration=0,Duration+1), Where Duration is a named range that I am trying to work as a counter to determine duration and then rest to zero for each new name in a range. I used to use Let statements, but that may have been in my Lotus 123 days or maybe Cobol. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
IF statement to make cells change shading | Excel Discussion (Misc queries) | |||
How can you make an 'If statement' with checkboxes? | Excel Discussion (Misc queries) | |||
How do I make an IF statement change cell shading | Excel Worksheet Functions | |||
How do I make a sound as a result of an "if" statement in excel | Excel Worksheet Functions | |||
How can i make this work within an IF statement: (41<=Cell<=46) | New Users to Excel |