+ Reply to Thread
Results 1 to 2 of 2

If cell 1 says x then cell 2 says y multiple times

  1. #1
    Registered User
    Join Date
    09-07-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    If cell 1 says x then cell 2 says y multiple times

    Hello all,

    Sorry for the nub question. I have done some digging and found this page on your site:
    http://www.excelforum.com/excel-work...ther-cell.html

    It showed a formula that has indeed worked :
    =IF(ISNUMBER(SEARCH("16x20",A2)), "Baseball,BaseballPhotos16x20", IF(ISNUMBER(SEARCH("8x10",A2)),"Baseball,Basebal lPhotos8x10",""))

    I have copied and pasted and changed the relevant text but....I need to add more.
    The logical step was to re-patse the formula and again, change the relevant parts but i cant 'finish' the formula?

    Q: How do i add further 'rules' and then finish the text string?

    Many thanks,

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: If cell 1 says x then cell 2 says y multiple times

    We are using Nested IF statements..

    To add more rules, insert another IF( logic before the last set of double quotes...

    Here is some help on Nested IF statements
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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