+ Reply to Thread
Results 1 to 5 of 5

How to solve this simple problem using any function or formula to find the difference?

  1. #1
    Registered User
    Join Date
    11-21-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    33

    How to solve this simple problem using any function or formula to find the difference?

    Hi
    Pleasure to come here again.
    I have two columns. I want to get the difference of two cells from Data column.
    let say I want to get difference of A2-A3, A4-A5 and so on.... in difference column.
    Please find the attachment to understand better.

    Thanks
    Kalucharan
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: How to solve this simple problem using any function or formula to find the difference?

    Hi Kalucharan,

    Just drag down the selection as I have shown using boarder in column B.


    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: How to solve this simple problem using any function or formula to find the difference?

    You can try this in B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag down

    The IF(MOD(ROW(),2),"", part just prints a blank on every odd row, and the A2-A3 subtracts the odd row number from the even row number
    when you drag it down, the row numbers change , so you don't have to change them for every cell

    Note- in your sample, row 24 will return a #VALUE! error because there is no number below it to subtract

    Hope this helps

    Edit - Meant in B2, not A2
    Last edited by dredwolf; 01-21-2013 at 02:58 AM.
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  4. #4
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Boston
    MS-Off Ver
    MS 365
    Posts
    225

    Re: How to solve this simple problem using any function or formula to find the difference?

    This solved?

  5. #5
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: How to solve this simple problem using any function or formula to find the difference?

    Seems to be... no reply from OP yet.
    Do you have similar query ?



    Regards,
    DILIPandey
    <click on below * if this helps>

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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