+ Reply to Thread
Results 1 to 3 of 3

how to do diagonal subtratction

  1. #1
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    207

    how to do diagonal subtratction

    Dear all,

    hope everybody is fine

    I have this file attached : vehicle number, start kms and end kms

    1-Is it possible to have in D3 a formula to do subtraction from c2 minus b3 ? all the way down ?

    2- Can i have also in E7 and E10 an automatic subtracation between B2 and C7 ?depening on vehcile number ?

    thanks for your usual help
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: how to do diagonal subtratction

    Do you mean:

    D3: =C2-B3
    copied down

    E3: =IF(A3<>A4,INDEX(B:B,MATCH(A3,A:A,0))-C3,"")
    copied down

    (note your font in some cells in E is set to red so you won't see results...)

  3. #3
    Forum Contributor
    Join Date
    09-19-2007
    Location
    Beirut
    MS-Off Ver
    0365 MSO Version 2109
    Posts
    207

    Re: how to do diagonal subtratction

    works great
    thanks a lot

+ 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