+ Reply to Thread
Results 1 to 2 of 2

Update formula in cells based on list selection

  1. #1
    Registered User
    Join Date
    01-05-2014
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    3

    Post Update formula in cells based on list selection

    Hello,

    I am a newbie to excel and seek your expert help. I have a dropdown with these values:

    2013-Q1
    2013-Q2
    2013-Q3
    2013-Q4

    And, I have formulas in several cells like these one below.

    =COUNTIFS('Completed'!D2:D2000,"*SQLUpgrade*",'Completed'!C2:C2000,"2013-Q1")
    =COUNTIFS('Completed'!D2:D2000,"*OSUpgrade*",'Completed'!C2:C2000,"2013-Q1")
    =COUNTIFS('Completed'!D2:D2000,"*APPUpgrade*",'Completed'!C2:C2000,"2013-Q1")

    My requirement is, if I select 2013-Q3 from the dropdown, the string in the above formula "2013-Q1" (in all the cells) should be updated to "2013-Q3". So that, it will update the count based on the quarter. Similarly, if I select 2013-Q4, the string in the above formula "2013-Q1" should be changed to "2013-Q4". Can anyone provide macro to achieve this task? Thanks a ton.

  2. #2
    Forum Contributor
    Join Date
    10-18-2012
    Location
    Telford, England
    MS-Off Ver
    Excel 2010 (2003)
    Posts
    294

    Re: Update formula in cells based on list selection

    After the ! in each line, place the address (e.g. C4) of the cell associated with the dropdown.

+ 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] Linking cells from one sheet to another and update cells accordingly based on selection
    By hcyeap in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-17-2013, 09:53 AM
  2. Update a cell based on selection in dropdown list.
    By ladykickbox in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-26-2012, 07:45 AM
  3. Update List of Fixtures based on Selection
    By mccrimmon in forum Excel General
    Replies: 2
    Last Post: 06-10-2011, 10:53 AM
  4. Update formula based on cell selection
    By Maver1ck666 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-01-2010, 09:49 AM
  5. Replies: 8
    Last Post: 07-02-2009, 07:13 PM

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