![]() |
Help with a formula
Please help: I'm not very good with formulas.
=IF(('May 3'!M17)<15,"15:00:00","(May 3'M17)") May 3 M17 represents hours to carry over from the previous sheet/period to this period. This could sometimes by negative. The rule is that you can only ever carry over 15 hours into the next month. The formula above needs tweaking as it still shows 15:00:00 even if the value in the previous sheet is less than 15:00:00. Im using 1904 date format and [h]:mm:ss format. |
Help with a formula
=IF('May 3'!M17<15,"15:00:00",'May 3'!M17)
"Josh UK" wrote: Please help: I'm not very good with formulas. =IF(('May 3'!M17)<15,"15:00:00","(May 3'M17)") May 3 M17 represents hours to carry over from the previous sheet/period to this period. This could sometimes by negative. The rule is that you can only ever carry over 15 hours into the next month. The formula above needs tweaking as it still shows 15:00:00 even if the value in the previous sheet is less than 15:00:00. Im using 1904 date format and [h]:mm:ss format. |
Help with a formula
Try:
=MAX('May 3'!M17,Time(15,,)) -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "Josh UK" wrote in message ... Please help: I'm not very good with formulas. =IF(('May 3'!M17)<15,"15:00:00","(May 3'M17)") May 3 M17 represents hours to carry over from the previous sheet/period to this period. This could sometimes by negative. The rule is that you can only ever carry over 15 hours into the next month. The formula above needs tweaking as it still shows 15:00:00 even if the value in the previous sheet is less than 15:00:00. Im using 1904 date format and [h]:mm:ss format. |
Help with a formula
Shouldn't this be:
=MIN('May 3'!M17,Time(15,,)) ? The carry-forward time shouldn't exceed 15 hours, even if 'May 3'!M17 does. Pete On Feb 14, 7:13 pm, "Sandy Mann" wrote: Try: =MAX('May 3'!M17,Time(15,,)) -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "Josh UK" wrote in message ... Please help: I'm not very good with formulas. =IF(('May 3'!M17)<15,"15:00:00","(May 3'M17)") May 3 M17 represents hours to carry over from the previous sheet/period to this period. This could sometimes by negative. The rule is that you can only ever carry over 15 hours into the next month. The formula above needs tweaking as it still shows 15:00:00 even if the value in the previous sheet is less than 15:00:00. Im using 1904 date format and [h]:mm:ss format.- Hide quoted text - - Show quoted text - |
Help with a formula: #REF! Error
Hi Pete, thanks for your help.
This seems to work on all but one of the sheets. Even when I deleted the sheet that was returning the #REF! Error and replaced it with sheet that did work and relabelled it, each time I entered the formula I got the #REF! Error and the Update Values box appeared, as if to search for a new file. The formula that returns the error is: =MIN('Feb 1'!M17,TIME(15,,)) It seems sensitive to 'Feb 1' "Pete_UK" wrote: Shouldn't this be: =MIN('May 3'!M17,Time(15,,)) ? The carry-forward time shouldn't exceed 15 hours, even if 'May 3'!M17 does. Pete On Feb 14, 7:13 pm, "Sandy Mann" wrote: Try: =MAX('May 3'!M17,Time(15,,)) -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "Josh UK" wrote in message ... Please help: I'm not very good with formulas. =IF(('May 3'!M17)<15,"15:00:00","(May 3'M17)") May 3 M17 represents hours to carry over from the previous sheet/period to this period. This could sometimes by negative. The rule is that you can only ever carry over 15 hours into the next month. The formula above needs tweaking as it still shows 15:00:00 even if the value in the previous sheet is less than 15:00:00. Im using 1904 date format and [h]:mm:ss format.- Hide quoted text - - Show quoted text - |
All times are GMT +1. The time now is 11:47 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com