+ Reply to Thread
Results 1 to 4 of 4

IF THEN

  1. #1
    eric@innerlith.com
    Guest

    IF THEN

    Hi all,

    Can an IF statement be written referencing a text value? My situation
    is this I have created a list with different text values. I would like
    the statement to check for these values in the list cell THEN once the
    criteria are met apply the rest of the formula. If somebody knows a
    different way to do this I will take any suggestions.


    Thanks,

    Eric H


  2. #2
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    Quote Originally Posted by eric@innerlith.com
    Hi all,

    Can an IF statement be written referencing a text value? My situation
    is this I have created a list with different text values. I would like
    the statement to check for these values in the list cell THEN once the
    criteria are met apply the rest of the formula. If somebody knows a
    different way to do this I will take any suggestions.


    Thanks,

    Eric H
    Hi Eric

    Yes you can reference text in an IF statement, it needs to be enterred as "Text"

    eg IF(C3="text",x,y)
    Paul

  3. #3
    JE McGimpsey
    Guest

    Re: IF THEN

    Your statement is pretty general, but perhaps something like:

    =IF(OR(A1="apple",A1="banana",A1="cherry"),<rest of formula>,"")

    In article <1126039812.760465.46700@f14g2000cwb.googlegroups.com>,
    eric@innerlith.com wrote:

    > Hi all,
    >
    > Can an IF statement be written referencing a text value? My situation
    > is this I have created a list with different text values. I would like
    > the statement to check for these values in the list cell THEN once the
    > criteria are met apply the rest of the formula. If somebody knows a
    > different way to do this I will take any suggestions.
    >
    >
    > Thanks,
    >
    > Eric H


  4. #4
    CLR
    Guest

    Re: IF THEN

    If your list of criteria text is very long, or the "rest of the formula"
    varies depending on the criteria, then consider using the VLOOKUP function.

    Vaya con dios,
    Chuck, CABGx3


    <eric@innerlith.com> wrote in message
    news:1126039812.760465.46700@f14g2000cwb.googlegroups.com...
    > Hi all,
    >
    > Can an IF statement be written referencing a text value? My situation
    > is this I have created a list with different text values. I would like
    > the statement to check for these values in the list cell THEN once the
    > criteria are met apply the rest of the formula. If somebody knows a
    > different way to do this I will take any suggestions.
    >
    >
    > Thanks,
    >
    > Eric H
    >




+ 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