+ Reply to Thread
Results 1 to 4 of 4

How do I use multiple functions?

  1. #1
    Dan L.
    Guest

    How do I use multiple functions?

    I'm doing a spreadsheet and would like some help. I want the foumula to
    comapre one cell and if it has the gift in it and the next cell over is below
    40 then the value of the cell if over 40 then 40. Easy enough? no, I also
    want if the first cell has the word membership in it then the value of the
    next cell is the value.
    Example
    Cell 1 Amount claimed amount authorized
    gift 45 40
    gift 35 35
    membership 25 25
    membership 70 70

    Please help!!!

  2. #2
    Roger Govier
    Guest

    Re: How do I use multiple functions?

    Hi Dan

    With Gift etc. in column A, and value in column B enter in C2
    =IF(A2="Membership",B2,IF(A2="GIFT",MIN(40,--(B2*ISNUMBER(B2))),""))

    The ISNUMBER bit is to ensure that a blank value in B, with Gift in A
    doesn't get picked up as 40.

    Regards

    Roger Govier


    Dan L. wrote:
    > I'm doing a spreadsheet and would like some help. I want the foumula to
    > comapre one cell and if it has the gift in it and the next cell over is below
    > 40 then the value of the cell if over 40 then 40. Easy enough? no, I also
    > want if the first cell has the word membership in it then the value of the
    > next cell is the value.
    > Example
    > Cell 1 Amount claimed amount authorized
    > gift 45 40
    > gift 35 35
    > membership 25 25
    > membership 70 70
    >
    > Please help!!!


  3. #3
    Dan L.
    Guest

    Re: How do I use multiple functions?

    Roger,
    Thanks for the help. It worked , but let me add on to this. How do I get it
    to determine that if there is more than the word gift or membership in the
    cell. I have to describe it also in the same cell and I want it to calculate
    with the instance of gift or membership. Thanks again.

    Dan

    "Roger Govier" wrote:

    > Hi Dan
    >
    > With Gift etc. in column A, and value in column B enter in C2
    > =IF(A2="Membership",B2,IF(A2="GIFT",MIN(40,--(B2*ISNUMBER(B2))),""))
    >
    > The ISNUMBER bit is to ensure that a blank value in B, with Gift in A
    > doesn't get picked up as 40.
    >
    > Regards
    >
    > Roger Govier
    >
    >
    > Dan L. wrote:
    > > I'm doing a spreadsheet and would like some help. I want the foumula to
    > > comapre one cell and if it has the gift in it and the next cell over is below
    > > 40 then the value of the cell if over 40 then 40. Easy enough? no, I also
    > > want if the first cell has the word membership in it then the value of the
    > > next cell is the value.
    > > Example
    > > Cell 1 Amount claimed amount authorized
    > > gift 45 40
    > > gift 35 35
    > > membership 25 25
    > > membership 70 70
    > >
    > > Please help!!!

    >


  4. #4
    Roger Govier
    Guest

    Re: How do I use multiple functions?

    Hi Dan

    Do you mean that A2 might contain "sports Club "Membership" or "Christmas Gift"?
    If so, try
    =IF(ISNUMBER(SEARCH(A2,"Membership")),B2,IF(ISNUMBER(SEARCH(A2,"GIFT")),MIN(40,--(B2*ISNUMBER(B2))),""))

    Note that Search is not case sensitive so Gift is treated the same as GIFT.
    If you did need to be specific on case, then use FIND in place of SEARCH.

    Regards

    Roger Govier


    Dan L. wrote:
    > Roger,
    > Thanks for the help. It worked , but let me add on to this. How do I get it
    > to determine that if there is more than the word gift or membership in the
    > cell. I have to describe it also in the same cell and I want it to calculate
    > with the instance of gift or membership. Thanks again.
    >
    > Dan
    >
    > "Roger Govier" wrote:
    >
    >
    >>Hi Dan
    >>
    >>With Gift etc. in column A, and value in column B enter in C2
    >>=IF(A2="Membership",B2,IF(A2="GIFT",MIN(40,--(B2*ISNUMBER(B2))),""))
    >>
    >>The ISNUMBER bit is to ensure that a blank value in B, with Gift in A
    >>doesn't get picked up as 40.
    >>
    >>Regards
    >>
    >>Roger Govier
    >>
    >>
    >>Dan L. wrote:
    >>
    >>>I'm doing a spreadsheet and would like some help. I want the foumula to
    >>>comapre one cell and if it has the gift in it and the next cell over is below
    >>>40 then the value of the cell if over 40 then 40. Easy enough? no, I also
    >>>want if the first cell has the word membership in it then the value of the
    >>>next cell is the value.
    >>>Example
    >>>Cell 1 Amount claimed amount authorized
    >>>gift 45 40
    >>>gift 35 35
    >>>membership 25 25
    >>>membership 70 70
    >>>
    >>>Please 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