+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : Increasing the value of cell and comparison

  1. #1
    Registered User
    Join Date
    03-10-2010
    Location
    croatia
    MS-Off Ver
    Excel 2003
    Posts
    4

    Increasing the value of cell and comparison

    Can somebody help me?
    Please show me how to do something with IF function.
    In row 4 i have sum of column B and column C.
    I want to compare the cell B4 and C4.
    I want to increase the value of cell C1, with adding the number 1 until the C4=B4


    -------A-----B-----C
    1-------------3-----1
    2-------------5-----3
    3-------------9-----4

    4------------17----8 ----this is sum


    =IF(C4<B4;C1+1;C4) ??

    ..with this way, the result is 2, because IF function do adding just one time...
    ..help...tnx...
    Last edited by qsebastian; 03-10-2010 at 04:12 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Please, help...

    Welcome to the forum.

    Please take a few minues to read the forum rules, and then amend your thread title accordingly.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-10-2010
    Location
    croatia
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Please, help...

    Quote Originally Posted by shg View Post
    Welcome to the forum.

    Please take a few minues to read the forum rules, and then amend your thread title accordingly.

    Thanks.
    ok, i will do that..

    thanks...

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Increasing the value of cell and comparison

    In C1: =A6-B3-B4

  5. #5
    Registered User
    Join Date
    03-10-2010
    Location
    croatia
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Increasing the value of cell and comparison

    hm, maybe i wasn't clear enough...
    i want that the value in cell C1 increase repeatedly,from value which is already in the cell, step by step, until C4 = B4...

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Increasing the value of cell and comparison

    No formula is going to do that. The formula I gave you will make the totals in B4 and C4 the same.

  7. #7
    Registered User
    Join Date
    03-10-2010
    Location
    croatia
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Increasing the value of cell and comparison

    ok, but can i do something in Visual Basic maybe, something with functions IF, THEN, ELSE ?

+ 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