+ Reply to Thread
Results 1 to 4 of 4

Multiple Arguments

  1. #1
    Registered User
    Join Date
    08-31-2004
    Posts
    6

    Multiple Arguments

    I am using this formula =COUNTIF(D6:D11,"K9-3")*1995. I want it to only return true and multiply by 1995 if an adjacet cell in E6:E11 also contains "Local" rather than "Distance". How can I enter the formula so it will check both arguments?
    Last edited by dansargeant; 03-10-2006 at 03:37 AM.

  2. #2
    Biff
    Guest

    Re: Multiple Arguments

    Hi!

    Try this:

    =SUMPRODUCT(--(D6:D11="K9-3"),--(E6:E11="Local"))*1995

    Biff

    "dansargeant" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > I am using this formula =COUNTIF(D6:D11,"K9-3")*1995. I want it to only
    > return true and multiply by 1995 if E6:E11 also contains "Local" rather
    > than "Distance". How can I enter the formula so it will check both
    > arguments?
    >
    >
    > --
    > dansargeant
    > ------------------------------------------------------------------------
    > dansargeant's Profile:
    > http://www.excelforum.com/member.php...o&userid=13852
    > View this thread: http://www.excelforum.com/showthread...hreadid=520943
    >




  3. #3
    Registered User
    Join Date
    08-31-2004
    Posts
    6

    Biff

    Hey,

    Thanks Biff!! It worked great!!

    DS

  4. #4
    Biff
    Guest

    Re: Multiple Arguments

    You're welcome. Thanks for the feedback!

    Biff

    "dansargeant" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hey,
    >
    > Thanks Biff!! It worked great!!
    >
    > DS
    >
    >
    > --
    > dansargeant
    > ------------------------------------------------------------------------
    > dansargeant's Profile:
    > http://www.excelforum.com/member.php...o&userid=13852
    > View this thread: http://www.excelforum.com/showthread...hreadid=520943
    >




+ 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