+ Reply to Thread
Results 1 to 4 of 4

Have A = B formula needed

  1. #1
    Registered User
    Join Date
    02-12-2016
    Location
    Miami
    MS-Off Ver
    Word, Excel
    Posts
    1

    Unhappy Have A = B formula needed

    Hello, I need a formula so that when you select a type of service in one column, it automatically generates the cost for that service in the next column. I'm sure this is pretty simple, but I can't figure it out for the life of me. Any help is appreciated

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,387

    Re: Have A = B formula needed

    It sounds like it should be one of Excel's lookup functions: https://support.office.com/en-us/art...__toc309306714

    For the uninitiated, the VLOOKUP() function is usually a good place to start.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,108

    Re: Have A = B formula needed

    you can use a vlookup or index match

    Assuming you had the service in column A of sheet2
    and the cost in column B of sheet2

    and the service you want to lookup n column A on sheet 1 and want the answer in column B sheet1
    =VLOOKUP(A2,Sheet2!$A$1:$B$11,2,FALSE)

    see attached
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Have A = B formula needed

    Check this out:

    http://www.contextures.com/xlFunctions02.html

    Includes videos!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Replies: 1
    Last Post: 01-11-2016, 02:31 PM
  2. [SOLVED] Formula needed to depend formula's range on specified cells
    By VincentNL in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-01-2014, 06:15 AM
  3. Replies: 3
    Last Post: 06-09-2014, 03:29 PM
  4. Replies: 7
    Last Post: 02-03-2013, 06:25 PM
  5. Replies: 16
    Last Post: 10-19-2012, 08:48 PM
  6. [SOLVED] index formula needed--how to get a formula to skip columns
    By rsmidtisu in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-02-2012, 11:22 AM
  7. Replies: 3
    Last Post: 09-07-2012, 12:07 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