+ Reply to Thread
Results 1 to 3 of 3

Need a formula to distribute an amount to specified fields

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    5

    Need a formula to distribute an amount to specified fields

    I have a spreadsheet and in column A I have letters and in column B I have an amount. Each letter has a designated amount associated with it. I change the amounts of each letter on a weekly basis. I want to have a "legend" of sorts to enter new amounts for the letters and this amount would auto-populate to all the corresponding Letters throughout the spreadsheet.

    Example:

    E 22.01
    F 56.38
    GC 8.28
    B 96.35
    T 0.98
    F 56.38
    F 56.38
    GC 8.28
    B 96.35
    B 96.35
    B 96.35
    B 96.35
    F 56.38
    F 56.38
    E 22.01
    E 22.01
    E 22.01

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Need a formula to distribute an amount to specified fields

    Welcome to the forum

    If you already have a "legend" for your letters and corresponding values, then all you need to do is use a vlookup to return the associated value

    Something like =VLOOKUP(A2,$J$1:$K$26,2,0), copied down

    where J1:K26 is the range of your "Legend" - adjust as needed
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    09-05-2012
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Need a formula to distribute an amount to specified fields

    That formula brought back the amount within my spreadsheet. I need kind of the reverse of that. I want to enter the amount in the legend and that amount be distributed to the spreadsheet below. Or maybe I did it wrong.

+ 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. Need a formula to add up the amount of fields with either 'N' or 'P'
    By mleaver in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2012, 07:25 PM
  2. Replies: 5
    Last Post: 10-29-2012, 06:14 AM
  3. [SOLVED] Using Lookup to distribute amount over a given duration
    By StarHunter in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-16-2012, 06:20 AM
  4. Replies: 1
    Last Post: 11-29-2010, 09:09 PM
  5. Validate sum of amount group by 2 other fields
    By suryantoj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-31-2009, 10:09 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