+ Reply to Thread
Results 1 to 5 of 5

Populating mutiple cells based on specific values

  1. #1
    Registered User
    Join Date
    12-14-2012
    Location
    Southampton
    MS-Off Ver
    Excel 2003
    Posts
    9

    Populating mutiple cells based on specific values

    Hey Folks

    Attached a sample of the spreadsheet that I am working with.

    Colum A records a PIN
    Colum B records Payment Method
    Colum C records a value

    What I need is a formula that will populate Colum F with a PIN and Colum G with the associated value for that PIN if the payment method is Payroll.

    I dont know why I cant figure this out, everything I try isnt working.


    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Populating mutiple cells based on specific values

    hi Grillpan, welcome to the forum. try this non-array formula in F3:
    Please Login or Register  to view this content.
    then change the red portion to column C to apply it to G3:
    Please Login or Register  to view this content.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    12-06-2012
    Location
    mumbai
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Populating mutiple cells based on specific values

    hi Grillpan
    hope you are looking for this sol.
    please find attached file.


    cheers.


    if satisfied then mark this thread solved and click the star below .
    thanks
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,705

    Re: Populating mutiple cells based on specific values

    Put this formula in D3:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    then copy down. Put this formula in F3:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and this one in G3:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Format G3 as currency with 2 dp, then copy F3:G3 down until you get blanks.

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    12-14-2012
    Location
    Southampton
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Populating mutiple cells based on specific values

    Thank sguys, went with Benishiryo's version but each one worked really well but all of you have helped me to understand where I was going wrong.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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