+ Reply to Thread
Results 1 to 5 of 5

Variable Increase

  1. #1
    Registered User
    Join Date
    08-18-2020
    Location
    Kuala Lumpur
    MS-Off Ver
    MS Office 2019
    Posts
    28

    Variable Increase

    Hey guys, I am trying to build a matrix model where the variable of a cell ( e.g C5=5 ) will increase to 6 with each increment in date number. I have tried the following formula but it doesn't seem to work. Any help on this matter is greatly appreciated.cell row.PNG
    Attached Images Attached Images
    Last edited by elyas91; 01-27-2021 at 08:25 AM.

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

    Re: Variable Increase

    may be the following
    =if(I8>I7,H7+1,H7)
    Samba

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

  3. #3
    Registered User
    Join Date
    08-18-2020
    Location
    Kuala Lumpur
    MS-Off Ver
    MS Office 2019
    Posts
    28

    Re: Variable Increase

    Hey there!

    Ermmm, I don't think that is what I am looking for, mate. What I intended is for cell J7 to increase with each addition in cell I7. As cell I7 is a reference to today's date and would therefore increase automatically tomorrow, that means the cell J7 would also increase by 1 every single day... :-) Because I want my probability of failure to increase gradually as a function of time . ..

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Variable Increase

    Then you will need a static date, like =if(I7>1/27/2021,H7+TODAY()-1/27/2021,H7)
    Click the * to say thanks.

  5. #5
    Registered User
    Join Date
    08-18-2020
    Location
    Kuala Lumpur
    MS-Off Ver
    MS Office 2019
    Posts
    28

    Re: Variable Increase

    Dear Paul,

    Beautiful answer!!! Amazing solution.. 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)

Similar Threads

  1. [SOLVED] increase value by 1 if meets variable..
    By Dxmiian in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-24-2020, 02:50 PM
  2. increase the font size of a variable in the body of email
    By NeoDasari in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2015, 05:11 PM
  3. Loop, if found, increase range variable.
    By NewGuy OnBlock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2015, 05:46 PM
  4. Variable Increase formula help
    By wilfred in forum Excel General
    Replies: 3
    Last Post: 08-28-2011, 05:42 PM
  5. Variable for automatic increase
    By thparian in forum Excel General
    Replies: 5
    Last Post: 05-03-2009, 06:50 AM
  6. [SOLVED] Increase/Decrease Value of variable/cell using scroll bar?
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-18-2006, 11:50 PM
  7. How to increase a variable after checking of cell is filled up or not?
    By wuming79 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-05-2006, 05:00 AM

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