+ Reply to Thread
Results 1 to 8 of 8

How to add calculated column to excel Table

  1. #1
    Registered User
    Join Date
    07-30-2012
    Location
    Port Moresby
    MS-Off Ver
    Excel 2010
    Posts
    6

    How to add calculated column to excel Table

    New column added. when formula is entered, it gives a structured reference and does not automatically fill the column. how do i get the column to show result of the formula rather than the structured reference

    Formula entered looks like this: =MONTH([@Created]) where 'Created' column contains dates in short format i.e. dd/mm/yy

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,331

    Re: How to add calculated column to excel Table

    Welcome to the forum!

    Will you please attach a sample Excel workbook?

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    07-30-2012
    Location
    Port Moresby
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to add calculated column to excel Table

    Attached sample data with columns containing desired results on the RHS
    Attached Files Attached Files
    Last edited by ntogs2012; 01-27-2017 at 02:49 AM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: How to add calculated column to excel Table

    Quote Originally Posted by ntogs2012 View Post
    Attached sample data with columns containing desired results on the RHS
    Dont think your file came through
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    07-30-2012
    Location
    Port Moresby
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to add calculated column to excel Table

    Had trouble editing the post
    Attached Files Attached Files

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: How to add calculated column to excel Table

    As I thought, those columns are formatted as TEXT

    Format as General, or whatever you need, then either re-enter the the formula, or press F2/enter in each column
    Delete the formulas below and copy the top (fixed) formulas down

  7. #7
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,215

    Re: How to add calculated column to excel Table

    Refer attach file.
    Using simple =month(range) in "B" column. In "C" column =year(range) & "D" column =year(range)&month(range)
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  8. #8
    Registered User
    Join Date
    07-30-2012
    Location
    Port Moresby
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to add calculated column to excel Table

    Thanks. Changing the number format solved the problem

+ 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] Pivot Table Calculated Field - Sum of Column A * Min of Column B
    By Whizbang in forum Excel General
    Replies: 8
    Last Post: 07-20-2021, 08:49 AM
  2. Calculated Column in pivot table
    By lamdl in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 03-06-2015, 01:54 PM
  3. Replies: 0
    Last Post: 04-26-2013, 08:51 AM
  4. Calculated column in Table not replicating properly
    By GTretick in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-04-2013, 05:33 PM
  5. [SOLVED] Trying to add a calculated column to an existing pivot table code
    By dwhite30518 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 05-14-2012, 02:34 PM
  6. Add new Calculated Column Pivot Table
    By joeserrone in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-09-2009, 10:53 AM
  7. Averaging a column of calculated fields in pivot table
    By me19708 in forum Excel General
    Replies: 1
    Last Post: 06-04-2007, 01:53 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