+ Reply to Thread
Results 1 to 7 of 7

Thread: Cell value is the same as cell reference???

  1. #1
    Registered User
    Join Date
    04-25-2008
    Posts
    4

    Cell value is the same as cell reference???

    Hello everyone,

    I'm working on a spreadsheet that has me stumped. My problem is that in creating the formula for a cell the value is the same as a reference cell.

    To calarify for example I'm trying to put it ="E5" where the date must literally equal "E5" and not refer to cell "E5". How do I go about coding this?

    Here's an example of what I'm trying to do:

    SUMPRODUCT(A4:A19="E5"))

    Actually here's the spreadsheet showing an example of I'm trying to accomplish. I have several people working/trying to come up with a formula to do what I want but so far no one can seem to come up with it.

    www.atvgraphics.org/formulahelp.xls

    Thanks!

  2. #2
    Valued Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Venezuela
    Posts
    696
    Your example formula is actually the way to code it.

    SUMPRODUCT(A4:A19="E5"))
    will look in range A4:A19 for values that equal "E5" not values that equal cell E5
    - Portuga

    There is no such thing as a problem, only a temporary lack of a solution


    In formulas,you might need to replace ; with , depending on your XL version

  3. #3
    Registered User
    Join Date
    04-25-2008
    Posts
    4
    That's what I thought so I must be missing part of the equation then. Maybe I'm confused with the formula as I am definitely not an Excel guru. I am just starting to learn formulas. If someone could take a look at the link I posted I really would appreciate it as I'm at a stand still right now.

    Thanks!

    AL

  4. #4
    Valued Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Venezuela
    Posts
    696
    Try this for the enlisted:
    =SUMPRODUCT(($B$13:$B$5000=F12)*((ISNUMBER(SEARCH("E*",$A$13:$A$5000))*$C$13:$C$5000)))
    and for the officers:

    =SUMPRODUCT(($B$13:$B$5000=F18)*((ISNUMBER(SEARCH("O*",$A$13:$A$5000)+(ISNUMBER(SEARCH("W*";$A$13:$A$5000))))*$C$13:$C$5000)))
    Edited
    Last edited by Portuga; 04-25-2008 at 04:02 PM.
    - Portuga

    There is no such thing as a problem, only a temporary lack of a solution


    In formulas,you might need to replace ; with , depending on your XL version

  5. #5
    Registered User
    Join Date
    04-25-2008
    Posts
    4
    Thanks for your help by the way but Excel keeps telling me that both those formulas contain errors.

    AL

  6. #6
    Valued Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Venezuela
    Posts
    696
    See attached

    (attached again) - wrong one
    Attached Files Attached Files
    Last edited by Portuga; 04-25-2008 at 05:00 PM.
    - Portuga

    There is no such thing as a problem, only a temporary lack of a solution


    In formulas,you might need to replace ; with , depending on your XL version

  7. #7
    Registered User
    Join Date
    04-25-2008
    Posts
    4
    Absolutely perfect.

    You're the man!

    Thanks!

    AL

+ 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.2.0