+ Reply to Thread
Results 1 to 4 of 4

Can Not Return Text From a Sum Array Type Formula

  1. #1
    Registered User
    Join Date
    02-14-2012
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 2003
    Posts
    18

    Can Not Return Text From a Sum Array Type Formula

    I understand how to use array formulas in a SUM situation but do not know how to pull/return text with an array. In the attached example I, pretty much, want the formula to say (column E) if Joe Schmoe spent $1.00 on 1/1/2012 on which ER number was that charge?

    I would like to try: {=SUM((Data!$A$2:$A$10)*(A2=Data!$A$2:$A$10)*(B2=Data!$C$2:$C$10)*(D2=Data!$E$2:$E$10))} but i know that will not work because Data!$A$2:$A$10 is text so I know it will not SUM.
    Attached Files Attached Files
    Last edited by chrisboughter; 02-15-2012 at 12:40 PM.

  2. #2
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Can Not Return Text From a Sum Array Type Formula

    Per your example, E2 is:
    =LOOKUP(2,1/((Data!$A$2:$A$10=A2)*(Data!$C$2:$C$10=B2)*(Data!$D$2:$D$10=C2)*(Data!$E$2:$E$10=D2)),Data!$B$2:$B$10)
    and copy down.
    Good luck.

  3. #3
    Registered User
    Join Date
    02-14-2012
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Can Not Return Text From a Sum Array Type Formula

    Hi OnErrorGot0,

    Thank you so much. It looks like I need help understanding the LOOKUP formula, now. I will experiment with that and post again if I have questions specific to it. Again, I thank you very much.

    You have resolved my post. How do I mark it as such?

  4. #4
    Forum Expert OnErrorGoto0's Avatar
    Join Date
    12-30-2011
    Location
    I DO NOT POST HERE ANYMORE
    MS-Off Ver
    I DO NOT POST HERE ANYMORE
    Posts
    1,655

    Re: Can Not Return Text From a Sum Array Type Formula

    Per the FAQ link at the top of the page:

    To mark your thread solved do the following:
    - Go to the first post
    - Click edit
    - Click Advance
    - Just below the word "Title:" you will see a dropdown with the word No prefix.
    - Change to Solve
    - Click Save

+ 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