+ Reply to Thread
Results 1 to 6 of 6

use of (IF) function in increase number gradually with condition

  1. #1
    Registered User
    Join Date
    08-21-2014
    Location
    india
    MS-Off Ver
    2007
    Posts
    53

    use of (IF) function in increase number gradually with condition

    I have attached one sample file. I have tried it with if function,but i cannot make number increase like 10,20 ,30,40 and 50 how to do that???
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: use of (IF) function in increase number gradually with condition

    Are you happy to copy each block of rows (B2:B6) down the worksheet?

    If so, =IF(A2>=100,"",10)*(COUNTIF($B$1:B1,">0")+1) in B2 will give you what you want.

    I hope this helps, please let me know!

    Regards,

    David


    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".


  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,605

    Re: use of (IF) function in increase number gradually with condition

    In K2 then dragdown
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    09-24-2015
    Location
    Delhi, India
    MS-Off Ver
    MS Office 2013
    Posts
    65

    Re: use of (IF) function in increase number gradually with condition

    hi,

    you can use this.

    =IF(B2="",0,J1+10)

    reg
    raj

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: use of (IF) function in increase number gradually with condition

    b1=IF(A1>=100,"",SUM(INDIRECT("b"&ROW()-1),10))
    Please Login or Register  to view this content.
    or
    b1=IF(A1>=100,"",SUM(OFFSET(B1,-1,),10))
    Please Login or Register  to view this content.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: use of (IF) function in increase number gradually with condition

    Excellent solution @nflsales - I prefer the OFFSET version because it can easily adapt to inserted columns etc.

    Also liked @kvsrinivasamurthy idea. I would make one change to get rid of the zeros, thus
    =IF(A2<>"","",IF(INDEX($A$1:$A1,MATCH(99^99,$A$1:$A1))>=100,N(B1)+10,0))

    Good work people!

    DAC

+ 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. [SOLVED] Add number to end of text and increase number per instance
    By cossie2k in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-22-2015, 05:25 AM
  2. [SOLVED] Gradually increase/decrease a numerical value
    By bibu in forum Excel General
    Replies: 8
    Last Post: 07-27-2014, 02:31 PM
  3. [SOLVED] IF the condition of gender is met AND the condition of age is met subtract this number
    By arsenalmom in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-16-2014, 11:16 PM
  4. Replies: 4
    Last Post: 08-23-2013, 10:24 AM
  5. [SOLVED] Condition and function to write number value greater than a specific number
    By excelinexcel7 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-08-2012, 06:09 PM
  6. Replies: 3
    Last Post: 09-18-2012, 01:01 AM
  7. [SOLVED] Increase with condition
    By Nitin gupta in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-26-2006, 08:10 AM

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