+ Reply to Thread
Results 1 to 4 of 4

referencing the "text" within a cell for =SUMIFS search

Hybrid View

  1. #1
    Registered User
    Join Date
    01-08-2020
    Location
    Melbourne, Australia
    MS-Off Ver
    office365
    Posts
    2

    referencing the "text" within a cell for =SUMIFS search

    Hi,

    I am doing a simple =SUMIFS formula to sum all the sales for a particular item but don't want to manually type in the item name.

    formula is =SUMIFS(!A:A,!B:B,"text")

    Column A is the qty of items sold
    Column B is the list of various item sold which I am searching through
    "text" is the item name I am searching for

    For "item name" I have to manually enter this.

    How do I reference this to a particular cell which contains the item name? This will allow me to avoid manually typing each item name in as the item list exists so I can drag this formula to repeat for all 100's of items.

    Thanks

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: referencing the "text" within a cell for =SUMIFS search

    Something like
    Formula: copy to clipboard
     =SUMIFS(!A:A,!B:B,C1)
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    01-08-2020
    Location
    Melbourne, Australia
    MS-Off Ver
    office365
    Posts
    2

    Re: referencing the "text" within a cell for =SUMIFS search

    Thanks so much, very obvious now.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,943

    Re: referencing the "text" within a cell for =SUMIFS search

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. [SOLVED] SUMIFS formula works if last arguement is "cell", but not "<=cell"
    By MTaylor.RAMS in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2019, 03:12 PM
  2. Replies: 4
    Last Post: 06-11-2017, 02:03 PM
  3. Search "text", In that row goto Col H copy cell, go to move Col K paste cell Loop to end
    By RobertVaughan in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 03-20-2017, 09:59 PM
  4. How to use InStr function to search for a text that starts with "CTF" and ends with "."?
    By yoursamrit2000 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-27-2014, 06:52 PM
  5. [SOLVED] Count # of times text appears in cell range by cell referencing not =countif(A:A, ="text")
    By smit.etha in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-20-2014, 04:09 AM
  6. [SOLVED] If(Search to say "YES" or "NO" if cell contains specific text
    By Alt= in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-24-2014, 03:23 PM
  7. [SOLVED] If there is any text in column "A$" on "sheet1" then move cell to column "A$" on "sheet2"
    By ckgeary in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2013, 08:28 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