+ Reply to Thread
Results 1 to 8 of 8

Will functions work if I want a other text in the cell as well?

  1. #1
    Registered User
    Join Date
    12-09-2013
    Location
    Tennesse
    MS-Off Ver
    Excel 2010
    Posts
    14

    Will functions work if I want a other text in the cell as well?

    Hello and thanks in advance for the help

    Down to business I would like to put a countif function in a cell and want it to display the number then what its counting in the same cell IE [13 Cookies] instead of [13][cookies]

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Will functions work if I want a other text in the cell as well?

    Yeah, you can do that.

    Something like this:

    =COUNTIF(A:A,"Cookies")&" Cookies"
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Will functions work if I want a other text in the cell as well?

    you could do:
    =countif(A:A,"=Cookies") & " Cookies"
    ?

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Will functions work if I want a other text in the cell as well?

    Your formula will be something like:

    =COUNTIF(A:A,"cookies") & " cookies"

    Hope this helps.

    Pete

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Will functions work if I want a other text in the cell as well?

    Do you mean a custom format like 0 "cookies". ( Will always show "cookies" though)

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Will functions work if I want a other text in the cell as well?

    And, to make it grammatically correct...

    1 Cookies just doesn't sound or look right.

    This will eliminate that problem:

    =COUNTIF(A:A,"Cookies")&" Cookie"&IF(COUNTIF(A:A,"Cookies")<>1,"s","")

  7. #7
    Registered User
    Join Date
    12-09-2013
    Location
    Tennesse
    MS-Off Ver
    Excel 2010
    Posts
    14

    Re: Will functions work if I want a other text in the cell as well?

    Awsome that works great thanks everyone

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Will functions work if I want a other text in the cell as well?

    You're welcome. We appreciate the feedback!

+ 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. Replies: 16
    Last Post: 01-14-2013, 12:38 PM
  2. [SOLVED] Multiple functions within one cell not sure "if" will work
    By Triscia in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-20-2012, 02:49 PM
  3. Which Excel functions work in user-defined functions ?
    By RogeratCCCC in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 04-28-2012, 06:47 PM
  4. Replies: 2
    Last Post: 11-10-2009, 11:36 AM
  5. Help me ! I want to create two or more functions work in one cell.
    By peter via OfficeKB.com in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 06-27-2005, 01:05 PM

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