+ Reply to Thread
Results 1 to 2 of 2

If statement to show previous value if there was a decrease.

  1. #1
    Registered User
    Join Date
    02-20-2018
    Location
    Ohio
    MS-Off Ver
    Excel 2010
    Posts
    42

    If statement to show previous value if there was a decrease.

    Hello, I have a column with dates and a column with measurements. The measurements only happen every 14 days. I need an IF statement that will show the current value if there is and increase and shows the previous value if there is a decrease. This would be pretty easy to figure out if there were values in every cell but I cant figure it out with the 14 day gap. I added a column and manually put in the numbers I need to show what I mean. Thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,351

    Re: If statement to show previous value if there was a decrease.

    Looks simple enough. In H3 copied down:

    =IF(B3="","",MAX(B$3:B3))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Show next row only once previous row is filled in
    By shanni11 in forum Excel General
    Replies: 6
    Last Post: 09-13-2016, 06:54 AM
  2. Replies: 3
    Last Post: 12-08-2015, 10:07 AM
  3. Replies: 0
    Last Post: 02-25-2015, 01:02 PM
  4. Replies: 5
    Last Post: 02-15-2015, 10:38 PM
  5. Month over Month formula to show increase or decrease in rankings for SEO
    By lindsbay in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2014, 03:03 AM
  6. Replies: 3
    Last Post: 09-18-2012, 01:01 AM
  7. Replies: 2
    Last Post: 05-14-2012, 02:56 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