+ Reply to Thread
Results 1 to 3 of 3

Coverting A Number toText

  1. #1
    Registered User
    Join Date
    10-30-2011
    Location
    Long Island NY
    MS-Off Ver
    Excel 2007
    Posts
    4

    Coverting A Number toText

    I maybe going about this all wrong, but I'm a sales professional and need to summarize backlog data by month and year.
    The base report has the ship date by month, day and year from which I am able to extract the just the month and year into separate columns. From here I generate a pivot table, selecting the year and month collumns. The table that this generates sums the month and year because theyre in General format. The way I'm getting around this now is to make an edit of the month and year adding a (') at the beginning of each so that Excel handles it as text.

    I thought that using the text() function would fix that issue but I don't understand what to enter into the formula for format ( text(cell, format).

    Am I on the correct track or is there another function I should be using? If I am correct, what is the input to the 2nd variable?

  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: Coverting A Number toText

    Hi,

    It might be better if you upload your workbook so that we can see your request in context. Generally it's preferable to keep dates as proper Excel date numbers so that you can use them in calculations and summaries. It's not clear to me why you are wanting to keep the values as text. I suspect you'd be better advised to construct a proper date number rather than work with text.

    Regards
    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
    Valued Forum Contributor Miraun's Avatar
    Join Date
    04-03-2009
    Location
    New England
    MS-Off Ver
    2003, 2007, 2010, 2013
    Posts
    554

    Re: Coverting A Number toText

    The issues are lying within the configuration of the pivot tables, and not the formatting of the information. Swap the months over to the column section of the pivot table to organize and count/summarize by the month numbers that you're using. It sounds right now that you have it within the Data fields.

    It will also defaultly put a subtotal in there, but you can toggle that with options around Pivot Tables.

    I feel that the UI for Pivot tables was much better in 2003 relative to 2007, so unfortunately, I've had some problems myself getting everything arranged the way I want it. My advice is really just to play with it, and without seeing the data, it'd be difficult to just kind of take care of it for you.
    Going for Guru! Click the Star to the bottom left of this post if I helped!

+ 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