+ Reply to Thread
Results 1 to 3 of 3

Assigning variable data to a drop down list

  1. #1
    Registered User
    Join Date
    05-21-2019
    Location
    Brockville, ON, Canada
    MS-Off Ver
    Office 365 Business
    Posts
    2

    Question Assigning variable data to a drop down list

    I have a job-cost workbook with a number of worksheets in it that allow us to cost a renovation job from start to finish. One of the sheets is a change order page where we add items, as the project progresses, that were not part of the original costing. The way our workbook is setup is that the costing is broken down into a number of categories to allow us to more precisely analyze the data. On my change order sheet I have a drop down list to be able to select one of the categories available, and then the columns beside that selection have cells that we would enter in the corresponding costing depending on the item. I want to be able to apply that costing to my summary page based on the category that was selected from the drop down list. How do I assign the cell values to that particular category selection and reference that to my summary sheet?

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: Assigning variable data to a drop down list

    FrontSheet!A1:10 = Category Selection Options

    ChangeOrders!A1:A1000 = Category assignment of the change order line item

    ChangeOrders!B1:B1000 = Dollar Value of each line item

    FrontSheet!B1 put this in:
    Please Login or Register  to view this content.
    Then pull that down through B10.

    I think that's what you need: SUMIF will assess down each cell in a range, and compare it to an input; and for each position in the range that matches the input, it will add the corresponding number in the same position in a second range; and the output it delivers is the overall total.

    So given that you have a cell with a master Category Code,
    march down the line items on your change order sheet, and every one that has that category code, you add the cost in the same row (in a different column) to the total, and that's what the SUMIF delivers.
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  3. #3
    Registered User
    Join Date
    05-21-2019
    Location
    Brockville, ON, Canada
    MS-Off Ver
    Office 365 Business
    Posts
    2

    Re: Assigning variable data to a drop down list

    ben_hensel - If I could reach through the screen and shake your hand, I would! Thank you so much!! Given this was my first post on this forum, I am quite glad I signed up!

+ 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. assigning numerical values to a drop down list
    By ashtreyy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2016, 11:34 AM
  2. Assigning a value to a drop down list
    By Minus9 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-17-2014, 08:03 AM
  3. [SOLVED] variable drop-down list for inventory list
    By littledragon20x in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-04-2014, 04:02 PM
  4. Assigning a monetary value to a drop down list
    By OlSchool in forum Excel General
    Replies: 0
    Last Post: 06-29-2011, 04:48 AM
  5. Assigning Values from Fixed Data Set to Variable Data Set
    By Jaricketts in forum Excel General
    Replies: 4
    Last Post: 04-21-2010, 01:24 PM
  6. Variable Data into a Drop Down List
    By Russell719 in forum Excel General
    Replies: 10
    Last Post: 12-22-2008, 04:36 PM
  7. Assigning a Marco to a Drop Down List
    By jim_0068 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-12-2007, 12:52 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