+ Reply to Thread
Results 1 to 2 of 2

One formula to populate in multiple cells (possible VBA Code)?

  1. #1
    Registered User
    Join Date
    05-24-2011
    Location
    GP
    MS-Off Ver
    Excel 2007
    Posts
    25

    One formula to populate in multiple cells (possible VBA Code)?

    Hi Guys,

    Not sure if what i'm asking can be done. Please bear with me.

    I need a formula that will populate a value based on a 2 conditions.

    So basically what i need is the following:

    If cell A1= "Yes" and cell B2 has any values from 1 to 6, i need the values from b2 to be populated in C1,D1,E1,F1,G1 and H1.

    So if B2=1 i want the 1 populated in C1. If B2=2, i want the 2 populated in D1. If B2=3, i want the 3 populated in E1.

    But here's the tricky part. i dont want a formula in cells C1,D1,E1,F1,G1 and H1. I just want 1 formula that will populate to any one of those cells based on B2.

    If A1="No", no values should populate.
    Last edited by OlSchool; 07-15-2016 at 11:37 AM.

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

    Re: One formula to populate in multiple cells

    To do something like this without formulae in the destination cells, you will need some VBA, I expect. You might want to indicate this in your original thread title to attract the VBA experts.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    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. [SOLVED] Populate multiple cells
    By DLee-AB in forum Excel General
    Replies: 6
    Last Post: 04-07-2016, 03:21 PM
  2. [SOLVED] Formula to auto populate cells to match multiple tabs with certain criteria
    By rowena229 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 03-18-2015, 04:42 PM
  3. Replies: 4
    Last Post: 01-15-2015, 11:55 AM
  4. Formula to Populate Multiple Cells Based on Text strings in Another Cell
    By RASoff in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-18-2014, 11:52 AM
  5. [SOLVED] Require Formula to extract data to then populate multiple cells
    By amasson in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 04-23-2013, 04:17 AM
  6. Replies: 8
    Last Post: 06-30-2006, 11:20 AM
  7. [SOLVED] Populate multiple cells using the same reference
    By nick in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-03-2005, 11:05 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