+ Reply to Thread
Results 1 to 8 of 8

Trying to use SUMIFS to transfer 'text data' not #s from sheet to summary page

  1. #1
    Registered User
    Join Date
    05-03-2016
    Location
    Glenwood Springs, Colorado
    MS-Off Ver
    2013 or online with One Drive
    Posts
    4

    Question Trying to use SUMIFS to transfer 'text data' not #s from sheet to summary page

    Basically I was using a different template that I have as a business expenses tracking spreadsheet that has a main summary page with graphs and charts etc.

    For one of the columns (I do have all my areas grouped by name so I am not doing $F$5 for example. One of the columns has either OT or PT that I need in there. But when I use the SUMIFS it only wants to transfer the data over if it is in a numerical form. I am trying to figure out how to transfer the text data from sheet 3 over to my summary page and have it line up on the correct line based on the name for that client.

    Getting to the point of desperation I finally tried to see if I had my team write in "1" if that could then say "PT" for being a TRUE statement or something on those lines as well. or am I able to write on there an IF within the SUMIFS. When I add multiple criteria in my SUMIFS I got an error.

    Here is one of the formulas as I have it written: =SUMIFS(EVAL[THERAPY TYPE],EVAL[PATIENT NAME],IF(EVAL[PATIENT NAME]=[@[PATIENT NAMES]], IF EVAL[THERAPY TYPE]=1, "PT"))

    or here is one that seemed to work enough to the point I got a #Value error, except with me using the group names and not the criteria expanded I cannot see that they would have a different amount which commonly gives you a value error on a SUMIFS formula.

    =SUM(IF(EVAL[THERAPY TYPE],EVAL[PATIENT NAME],[@[PATIENT NAMES]])*IF(EVAL[THERAPY TYPE]="PT", ("PT"), ("OT")))

    ______________________________
    I also have a second task that I was trying to do. Basically a true/false statement that when that name on the summary sheet is added to a sheet titled "discharged" that the column on the summary sheet would say yes or have an X or something like that.

    Help Please!! I have spent nearly a day trying to figure out this one last thing on my chart . Many thanks
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Trying to use SUMIFS to transfer 'text data' not #s from sheet to summary page

    Hi,

    It's difficult to understand precisely what you're getting at. I assume it's the #REF formulae in column H of the Summary. If it is tell us what values you expect and how you have calculated them.

    If it's not the summary sheet which is the subject of your query then please indicate.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    05-03-2016
    Location
    Glenwood Springs, Colorado
    MS-Off Ver
    2013 or online with One Drive
    Posts
    4

    Re: Trying to use SUMIFS to transfer 'text data' not #s from sheet to summary page

    Hi Richard - thanks for looking at it. Sorry my message wasn't as clear.

    I want to have in Column D on the Summary Sheet the automation of saying either PT or OT and this would be linked from the second sheet (waiting on eval)column D therapy type.

    I am looking to have a way to have it both automated to fill in the cell on the summary page AND have it link correctly with the name (column B). I can do this easily on other sections with a SUMIFS but I cannot seem to make it work with having the words PT or OT.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Trying to use SUMIFS to transfer 'text data' not #s from sheet to summary page

    Hi,

    I still not sure I understand what results you expect to see. I can see no references to "OT". And shouldn't you be using COUNTIFS() not SUMIFS()?

    Try in D19 on the Summary
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    If this is not what you want please manually add the results to the workbook as I suggested. It always helps if we can see the end goal.

  5. #5
    Registered User
    Join Date
    05-03-2016
    Location
    Glenwood Springs, Colorado
    MS-Off Ver
    2013 or online with One Drive
    Posts
    4

    Re: Trying to use SUMIFS to transfer 'text data' not #s from sheet to summary page

    I reattached it here (sorry this is a work in progress so I know some of it might not look clear).

    I tried the formula provided, thank you, and it is giving me the answers of 1 and 0, I am trying to have it replicate the actual text of PT and OT if that is possible.

    You will see on the second sheet the column with the text being PT and OT that it is pulling from.

    (and I apologize, I am pretty efficient with Excel but have some more learning to go and was unsure what function command I am missing to not get the results, whether multiple IF or a sumproduct or countif)
    Attached Files Attached Files

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Trying to use SUMIFS to transfer 'text data' not #s from sheet to summary page

    OK, then if I understand it now

    Summary D19:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    05-03-2016
    Location
    Glenwood Springs, Colorado
    MS-Off Ver
    2013 or online with One Drive
    Posts
    4

    Re: Trying to use SUMIFS to transfer 'text data' not #s from sheet to summary page

    THANK YOU ~ THANK YOU!! That worked like a charm.

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Trying to use SUMIFS to transfer 'text data' not #s from sheet to summary page

    My pleasure. Thanks for the Rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Transfer Data from Mulitple worksheets to one summary sheet on a loop
    By GhostMoneky72 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-07-2014, 03:51 AM
  2. [SOLVED] Code to transfer latest entry from sheet 'Account' to sheet 'Summary' automatically
    By mukeshbaviskar in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-30-2014, 08:56 PM
  3. [SOLVED] How to get text from multiple work sheet to go on a summary page after calulating values
    By cher062 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-01-2014, 06:30 PM
  4. how to transfer the data and assign the page number in the sheet?
    By heihei in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2013, 11:47 PM
  5. Macro to transfer data from Input sheet to summary form
    By CA_needing_help in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-04-2013, 03:14 AM
  6. Replies: 1
    Last Post: 02-13-2013, 01:32 PM
  7. Replies: 1
    Last Post: 06-30-2012, 01:11 PM

Tags for this Thread

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