+ Reply to Thread
Results 1 to 6 of 6

If formula

  1. #1
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Thumbs up If formula

    Can someone help me create a formula using excel 2010
    If column A = Michael Smith, and Column B= Credit then what State is listed in Column C for Michael Smith
    Note - data is listed on Sheet 3 and summary is listed on sheet 4 if that helps.
    Last edited by JohnDear; 11-02-2011 at 12:22 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,897

    Re: Help creating a if formula

    Perhaps a Vlookup.

    Here is a tutorial: http://www.techonthenet.com/excel/formulas/vlookup.php

    Alan
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    12-22-2010
    Location
    Fort Rouge, Canada
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Help creating a if formula

    Try an array formula:

    =INDEX(C:C,MATCH("Michael Smith" & "Credit",A:A&B:B,0))
    When you are finished typing you must use Ctrl-Shift-Enter instead of just Enter.

    This will create curly brackets around it to show it is an array formula.

    If you don't see the curly brackets just go into edit the cell and hit ctrl-shift-enter

  4. #4
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Help creating a if formula

    The following formula works thanks to you help:
    {=INDEX(‘Sheet3’!C:C,MATCH(“Michael Smith”&“Credit”,‘Sheet3’!A:A&‘Sheet3!’B:B,0))}
    But one more question – I also have the names listed on sheet 4 where the formula is located. Can I use for example A6 instead of the actual name so when I copy the formula down no need to change names

  5. #5
    Registered User
    Join Date
    12-22-2010
    Location
    Fort Rouge, Canada
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Help creating a if formula

    absolutely
    try it

  6. #6
    Registered User
    Join Date
    10-26-2011
    Location
    Macon, GA
    MS-Off Ver
    Excel 2010
    Posts
    37

    Re: Help creating a if formula

    Works Great Thanks for your help

+ 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