+ Reply to Thread
Results 1 to 4 of 4

Count the Qty based on the cell text value

  1. #1
    Registered User
    Join Date
    04-13-2020
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    29

    Count the Qty based on the cell text value

    Hello. Is there a way for me to automatically put the quantity on the summary sheet based on the cell value? I tried to use the countif function in the summary sheet but it didn't work the way I wanted it to be. Thank you in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,412

    Re: Count the Qty based on the cell text value

    You should be more specific than just "did not work".

    Do you want sumif than countif?

    =SUMIF(MONDAY!$C$4:$C$7,$B4,MONDAY!$D$4:$D$7)

    Or you need INDIRECT function to translate "MONDAY" into "sheet name" reference?
    Quang PT

  3. #3
    Registered User
    Join Date
    04-13-2020
    Location
    Philippines
    MS-Off Ver
    2013
    Posts
    29

    Re: Count the Qty based on the cell text value

    Quote Originally Posted by bebo021999 View Post
    You should be more specific than just "did not work".

    Do you want sumif than countif?

    =SUMIF(MONDAY!$C$4:$C$7,$B4,MONDAY!$D$4:$D$7)

    Or you need INDIRECT function to translate "MONDAY" into "sheet name" reference?
    Sorry about that "did not work", will do next time. Anyway, SUMIF works fine! I just need to total quantity per day of that specific menu in the summary sheet. Thank you very much!

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2402 and WPS V2022
    Posts
    3,327

    Re: Count the Qty based on the cell text value

    SUMMARY worksheet , C4 cell formula , Drag down and accross
    HTML Code: 

+ 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. Count a Column based on certain text
    By pmw19800 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-21-2018, 07:37 AM
  2. [SOLVED] Count Colum F based on certain text
    By pmw19800 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-06-2017, 08:45 AM
  3. [SOLVED] Help - Dynamically Create an Array, Based on Key Cell, and Count Text within Array
    By mattsmit87 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-30-2017, 03:44 PM
  4. Replies: 6
    Last Post: 04-15-2015, 10:25 PM
  5. Removing duplicates in a count, count based on value in a different cell
    By omf_24 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-10-2013, 07:08 AM
  6. Count Formula based on text
    By clint182 in forum Excel General
    Replies: 4
    Last Post: 06-23-2011, 07:08 AM
  7. Count cell values based on text colour
    By mundo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-22-2008, 09:25 AM

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