+ Reply to Thread
Results 1 to 3 of 3

Automatically change cell based on date

  1. #1
    Registered User
    Join Date
    06-06-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    9

    Automatically change cell based on date

    Hi All,

    I need some assistance in producing a formula. What I am trying to achieve is:

    I have a data worksheet and a summary worksheet

    The Data Worksheet will contain hundreds of account names with months running from Columns B - P containing pricing information

    What I would like to do is, in the summary sheet enter a month next to the account when the price change occurs and for the Data sheet to update with this price and continue with it for the rest of the remaining months.

    In the attached, I have managed to get the price change but can not get the months after to recognize that the price change has occurred.

    I am sure there is a simple solution to this.

    I have attached the sheet and highlighted in green the cells impacted.

    Any help appreciated
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Automatically change cell based on date

    Is this what you meant? In Data, B3, copied across and down:

    =VLOOKUP(Data!$A3,Summary!$A$2:$H$3,IF(B$2< Summary!$F2,7,8),FALSE)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Automatically change cell based on date

    Try

    In B3

    =INDEX(Summary!$G$2:$H$10,MATCH(Data!$A3,Summary!$A$2:$A$10,0),IF(Data!B$2 < Summary!$F2,1,2))

    Copy across and down

+ 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. I need cell to automatically change color based on date in different cell
    By acooley in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 08-27-2013, 04:55 PM
  2. [SOLVED] Automatically insert value based on another, and change date if weekend
    By acohen12 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-17-2013, 11:52 AM
  3. Formula To Automatically Change External Reference Based on Date
    By Hillary35 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-29-2013, 11:39 AM
  4. automatically change cell value based on the value in other sheet.
    By star.dust9212 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 11-15-2011, 06:21 AM
  5. Automatically Change Sheet Tab Name With Date in Cell
    By chrisneu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-31-2011, 11:34 PM
  6. Automatically change date when a cell value is changed
    By kdc1336 in forum Excel General
    Replies: 2
    Last Post: 08-12-2010, 12:09 AM
  7. Having Cell Color Change Automatically Based on Value
    By jamesfedwards in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-21-2006, 10:47 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