+ Reply to Thread
Results 1 to 6 of 6

Excel 2007 : Lookup:create a formular

  1. #1
    Forum Contributor
    Join Date
    03-31-2009
    Location
    Dartford
    MS-Off Ver
    Excel 2007
    Posts
    237

    Lookup:create a formular

    Can anyone help me, I am trying to create a formular that if I type a particular value certain text and colour is displayed, I have attached the Excel Sheet to this post with the information in it.

    Thanks in advance.

    Shazz

    x
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    re: Lookup:create a formular

    Hi,

    Your request is ambiguous. First do you really mean D1?
    Second, if you type £38 in D1 as your note suggests, D1 can't therefore contain text like 'Paid in Full'.

    I suspect you're trying to identify the text 'Paid in Full' in B2 if C2 = £38. In which case B2 would be :

    Please Login or Register  to view this content.
    However you need to clarify what you're wanting to achieve.

    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    03-31-2009
    Location
    Dartford
    MS-Off Ver
    Excel 2007
    Posts
    237

    re: Lookup:create a formular

    It does not have to be D1, I was using D1 as an example becasue I had no forumular in the spreadsheet.

    I willl try and explain, if I typed for example £38.00 in the Cell that contains the formular then "Paid in Full" and relevant colour would be displayed, if I typed £00.00 in the cell thta contains the formular then "Awaiting Payment" and relevant colour would be displayed and so on.

    Shazz

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    re: Lookup:create a formular

    I willl try and explain, if I typed for example £38.00 in the Cell that contains the formular then "Paid in Full" and relevant colour would be displayed, if I typed £00.00 in the cell thta contains the formular then "Awaiting Payment" and relevant colour would be displayed and so on.
    What you are asking above is impossible. If you type a value into a cell that contains a formula, then the formula is overwritten by the value and ceases to exist. A cell can contain either a directly entered value OR a formula that returns a result, but not both.

    If you are wanting to return a matching result for "£38.00" (or other number), then you could use a VLOOKUP function. To apply a color to the cell use a Conditional Formatting using the formula option set to look at the result of the lookup and match the color accordingly.
    Last edited by Palmetto; 10-20-2009 at 07:50 AM.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  5. #5
    Forum Contributor
    Join Date
    03-31-2009
    Location
    Dartford
    MS-Off Ver
    Excel 2007
    Posts
    237

    re: Lookup:create a formular

    I am really rubbish at explaining things.

    You are exactly right, I want to type a value into a cell and in the cell where the formula is it will put the text that it is relevent to.

    I am rerally sorry for being such a twit

    Shazz

  6. #6
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    re: Lookup:create a formular

    Based on your sample workbook.

    Using . . .
    Cell E2: contains the value to look up
    Cell F2 formula: =VLOOKUP(E2,A2:B6,2,FALSE)
    Attached Files Attached Files

+ 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