+ Reply to Thread
Results 1 to 40 of 40

Need Help with SUM function

  1. #1
    Registered User
    Join Date
    08-11-2005
    Posts
    6

    Need Help with SUM function

    I have a software program that kicks out Excel reports with data from its fields and I need to add the cells up. I can put the =SUM(A1:D1) formula in a field within the software so it adds up A1 through D1 no problem but the simple =SUM(A1:D1) then shows up in row 2. So where it should be =SUM(A2:D2) Excel is taking the literall text in the field so it is not working beyond row 1. I get =SUM(A1:D1) in all rows.

    My thinking is to come up with a formula that uses the ROW() function to tell the next cell down to use the proper formula so I'm trying =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right track but don't quite know the syntax.

    Suggestions?

    Thanks.
    Last edited by spackler; 08-12-2005 at 01:48 PM.

  2. #2
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  3. #3
    Registered User
    Join Date
    08-11-2005
    Posts
    6
    Great. Awesome. Perfect. Thanks Vasant!

    Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having no luck adapting what you gave me above for the SUM.

    For the subtraction I was trying :
    =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))

    or

    =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.

    I have not tried the division yet as I realize my function understanding is lacking...

    Suggestions?

    Thanks.

  4. #4
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  5. #5
    Registered User
    Join Date
    08-11-2005
    Posts
    6
    Those look to be working, thanks again!

  6. #6
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  7. #7
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  8. #8
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  9. #9
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  10. #10
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  11. #11
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  12. #12
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  13. #13
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  14. #14
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  15. #15
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  16. #16
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  17. #17
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  18. #18
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  19. #19
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  20. #20
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  21. #21
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  22. #22
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  23. #23
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  24. #24
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  25. #25
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  26. #26
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  27. #27
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  28. #28
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  29. #29
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  30. #30
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  31. #31
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  32. #32
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  33. #33
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  34. #34
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  35. #35
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  36. #36
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  37. #37
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  38. #38
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  39. #39
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    =SUM(INDIRECT("A"&ROW()&":D"&ROW()))

    --

    Vasant



    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I have a software program that kicks out Excel reports with data from
    > its fields and I need to add the cells up. I can put the =SUM(A1:D1)
    > formula in a field within the software so it adds up A1 through D1 no
    > problem but the simple =SUM(A1:D1) then shows up in row 2. So where it
    > should be =SUM(A2:D2) Excel is taking the literall text in the field so
    > it is not working beyond row 1. I get =SUM(A1:D1) in all rows.
    >
    > My thinking is to come up with a formula that uses the ROW() function
    > to tell the next cell down to use the proper formula so I'm trying
    > =SUM(A(ROW()):D(ROW())) and it is not working. I think I'm on the right
    > track but don't quite know the syntacs.
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




  40. #40
    Vasant Nanavati
    Guest

    Re: Need Help with SUM function

    INDIRECT is not really intuitive (at least not to me). It usually takes me a
    bit of trial=and-error.

    Try:

    =INDIRECT("I"&ROW())-INDIRECT("P"&ROW())

    and:

    =INDIRECT("D"&ROW())/INDIRECT("A"&ROW())

    --

    Vasant





    "spackler" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Great. Awesome. Perfect. Thanks Vasant!
    >
    > Now I'm trying to do the same thing with =I2-P2 and =D2/A2 and having
    > no luck adapting what you gave me above for the SUM.
    >
    > For the subtraction I was trying :
    > =SUM(INDIRECT("I"&ROW()&"-P"&ROW()))
    >
    > or
    >
    > =(INDIRECT("I"&ROW()&"-P"&ROW())) with no luck.
    >
    > I have not tried the division yet as I realize my function
    > understanding is lacking...
    >
    > Suggestions?
    >
    > Thanks.
    >
    >
    > --
    > spackler
    > ------------------------------------------------------------------------
    > spackler's Profile:
    > http://www.excelforum.com/member.php...o&userid=26212
    > View this thread: http://www.excelforum.com/showthread...hreadid=395191
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1