Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Calculating
I need a formula that can calculate the following:
If month($B$2) equal month (D10) the maximum it can calculate to is 1, otherwise add D11+D12-D13 The formula is in D14. So one month that correspond with B2 is going to have a value of 1 or less when you add row 11and 12 then minus13. while the other will have the right result. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Calculating
hi
i might be a tad slow but.. If month($B$2) equal month (D10) the maximum it can calculate to is 1, otherwise add D11+D12-D13 assuming that B2 and D10 are real dates.... =if(month($B$2)=Month(D10),1 ,sum(D11+D12-D13)) or did i miss something? or did you leave out something? regards FSt1 "Link" wrote: I need a formula that can calculate the following: If month($B$2) equal month (D10) the maximum it can calculate to is 1, otherwise add D11+D12-D13 The formula is in D14. So one month that correspond with B2 is going to have a value of 1 or less when you add row 11and 12 then minus13. while the other will have the right result. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Calculating
"Link" wrote:
I need a formula that can calculate the following: If month($B$2) equal month (D10) the maximum it can calculate to is 1, otherwise add D11+D12-D13 The formula is in D14. So one month that correspond with B2 is going to have a value of 1 or less when you add row 11and 12 then minus13. while the other will have the right result. I do not understand your description. But by any chance, is the following what you want: =if(month($B$2)=month(D10), min(1,D11+D12-D13), D11+D12-D13) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
calculating | Excel Worksheet Functions | |||
CALCULATING A VALUE | Excel Discussion (Misc queries) | |||
Not Calculating | Excel Worksheet Functions | |||
Calculating Age | Excel Worksheet Functions | |||
Calculating recurring date in following month, calculating # days in that period | Excel Worksheet Functions |