+ Reply to Thread
Results 1 to 7 of 7

Looking formula for adding up

  1. #1
    Forum Contributor
    Join Date
    11-28-2022
    Location
    CANADA
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    149

    Looking formula for adding up

    Hello Folks,

    I am trying to add round trip distance miles. I have expected answer in column F. I wan to add column E distance when stop number is last based on each load id. This will give me round trip.
    May be IF OR formula?
    Thanks
    Attached Files Attached Files
    Last edited by AMJADMemon; 05-29-2023 at 01:20 PM.

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,129

    Re: Looking formula for adding up

    Try, =IF(OR(A2<>A1,D2=E2),E2,D2+E2) copy down.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,445

    Re: Looking formula for adding up

    Is this what you want?

    =IF(INT(D2)=INT(E2),E2,D2+E2)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    11-28-2022
    Location
    CANADA
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    149

    Re: Looking formula for adding up

    Yes AliGW both formula work thanks.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,445

    Re: Looking formula for adding up

    Glad to have helped.

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    82,445

    Re: Looking formula for adding up

    Thanks for the rep. Plase mark the thread as SOLVED as described above.

  7. #7
    Forum Contributor
    Join Date
    11-28-2022
    Location
    CANADA
    MS-Off Ver
    Microsoft 365 Apps for enterprise
    Posts
    149

    Re: Looking formula for adding up

    Thanks AliGW.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Update of iferror lookup formula by adding max formula
    By Jasminia in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-20-2022, 06:58 AM
  2. Replies: 3
    Last Post: 01-27-2020, 03:50 PM
  3. Replies: 4
    Last Post: 08-06-2018, 07:54 AM
  4. [SOLVED] Formula for adding a percentage from one cell and adding the total of 2 others
    By Kandra in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-04-2013, 06:48 AM
  5. adding Indirect formula to my current sum if array formula
    By Eastbay2 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-13-2013, 09:41 AM
  6. Replies: 1
    Last Post: 02-24-2013, 06:27 PM
  7. Replies: 8
    Last Post: 03-21-2012, 12:04 PM

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