first example:
=SUM(AI49:AN49)-SUM(AI48:AN48) in which "AN" is regularly extended (AO, AP,
etc.).
How can I create a formula that gives me an answer when cell 49 is standard
and cell 48 is continuously updating? Currently, I am manually changing "AN"
to "AO", and so on as I update the information.
second example:
=SUM(AI48:AN48)/SUM(AI49:AN49) with the same situation as above.
=SUM(AI49:IV49)-SUM(AI48:IV48)
--
Biff
Microsoft Excel MVP
"sjm182" <sjm...@discussions.microsoft.com> wrote in message
news:AC51207E-DD0F-48A7...@microsoft.com...
Regards,
Stefi
„sjm182” ezt írta:
"T. Valko" wrote:
> .
>
I don't understand how that could cause the formula to return an incorrect
result?
--
Biff
Microsoft Excel MVP
"sjm182" <sjm...@discussions.microsoft.com> wrote in message
news:8B8D6ABA-4466-4D48...@microsoft.com...
"T. Valko" wrote:
> .
>
SUM ignores empty cells so how do the empty cells affect the formula? If you
have:
10...5...2...empty...empty...empty...empty to the end of the row
The sum of that row is 17 no matter how many empty cells there are after the
last entry.
--
Biff
Microsoft Excel MVP
"sjm182" <sjm...@discussions.microsoft.com> wrote in message
news:9D2075E6-836A-406B...@microsoft.com...
"T. Valko" wrote:
> .
>
Can you post a small snippet of data and tell me what result you expect. Be
very specific as to where the data is located. The more details you provide
the easier it is for us to understand what you're trying to do.
--
Biff
Microsoft Excel MVP
"sjm182" <sjm...@discussions.microsoft.com> wrote in message
news:56E48F86-F885-492A...@microsoft.com...
1 A B C D E
F G H
2 58% 3.75
3 Completed 1 1 0 0.25 3
4 prescribed 2 2 2 1.5 1.5 1.5
5 50% 50% 0% 17% 200%
Cell A2 has the formula: =SUM(C3:G3)/SUM(C4:G4) with the goal of finding the
% fulfillment of hours completed/prescribed (using only data inputted, in
this case up to column G). If I included the blank spaces as well (column
H), then the % fulfilled to date would be 50%, which is not accurate.
Cell B2 has the formula: =SUM(C4:G4)-SUM(C3:G3) with the goal of finding the
# of hours left to fulfill (again using only data inputted). If I included
column H, the total hours remaining would be 5.25, which again is not
accurate.
I'm trying to make a worksheet that employees can use to track this info and
not have to continuously update the formula to extend to the next column.
Honestly, I'm thinking the easiest way to do it is just to input the row 3
and 4 info each week and have the formula extend to the end of the period.
It would be ideal if the prescribed hours could all be filled in advance,
though.
"T. Valko" wrote:
> .
>
If this was your data:
..........C..........D
3........1.............
4........2...........1
Then D4 should be excluded from the calculation. Is that correct?
If so, try these:
Assuming the potential end of the range is column AA.
Formula for A2:
=SUM(C3:AA3)/SUMIF(C3:AA3,"<>",C4:AA4)
Formula for B2:
=SUMIF(C3:AA3,"<>",C4:AA4)-SUM(C3:AA3)
--
Biff
Microsoft Excel MVP
"sjm182" <sjm...@discussions.microsoft.com> wrote in message
news:8570CF86-D2F8-4EC0...@microsoft.com...