+ Reply to Thread
Results 1 to 4 of 4

Move column that has 2015 and 2016 Sales in two seperate columns

Hybrid View

  1. #1
    Registered User
    Join Date
    12-02-2015
    Location
    chicago
    MS-Off Ver
    2010
    Posts
    8

    Move column that has 2015 and 2016 Sales in two seperate columns

    Hi I am looking to separate one column's data into two different columns using the one columns data and the one identifying year. I am trying to use Column A & B to put in Column C & D.

    Below is 4 separate columns

    Calendar year column A
    Sales Column B
    2015 Column C
    2016 Column D

    Calendar Year Sales 2015 2016
    2015 11,367
    2015 4,104
    2015 46
    2016 5,747
    2015 2,438
    2015 12,016
    2015 7,626
    2016 10,646
    2016 16,699

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,162

    Re: Move column that has 2015 and 2016 Sales in two seperate columns

    put
    =index(B:B, match("2015",A:A,0)
    into C
    and then put
    =index(B:B, match("2016",A:A,0)
    into D

    now I would click on C and D columns
    COPY
    Paste >Special Value
    so the formulas are nolonger in the columns and you just have the dat
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    12-02-2015
    Location
    chicago
    MS-Off Ver
    2010
    Posts
    8

    Re: Move column that has 2015 and 2016 Sales in two seperate columns

    So that sort of worked but I cant get the other cells to adopt the formula.
    A B C D
    Calendar Year Sales
    2015 -2,327 -2326.99 1075.2
    2015 -2,327 -2326.99 1075.2
    2016 1,075 -2326.99 1075.2
    2016 504 -2326.99 1075.2
    2016 2,552 -2326.99 1075.2
    2016 20,750 -2326.99 1075.2
    2016 383 -2326.99 1075.2
    2016 450 -2326.99 1075.2
    2016 4,582 -2326.99 1075.2
    2016 318
    2016 2,535
    2016 0
    2016 1,477
    2016 886
    2016 1,134
    2016 1,521
    2016 1,115
    2016 924
    2016 2,215

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,162

    Re: Move column that has 2015 and 2016 Sales in two seperate columns

    we could use an IF and copy down

    column C = 2015
    Column D = 2016

    in C2 put = IF( A2="2015", B2, IF( A2 = "2016", 0, "not 2016/2015" ))
    in D2 put = IF( A2="2015", 0, IF( A2 = "2015", B2, "not 2016/2015" ))
    and copy down

+ 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 against financial year 2015-2016
    By silambarasan.J in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-28-2016, 11:41 AM
  2. Mildly complicated embedded formula pulling data for 2015 but not 2016
    By Jason.F in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-22-2016, 11:30 AM
  3. [SOLVED] I want to pop up a MsgBox if if user enters date like 2015.04.30 instead of 30.04.2015.
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-09-2015, 10:00 AM
  4. [SOLVED] SUMIFS - Sales value only for x product in 2015
    By janagan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-27-2015, 01:31 PM
  5. Move ssn to seperate column using if statement
    By gadgetgirl715 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-07-2013, 08:41 AM
  6. [SOLVED] Seperate data in column A that has specific word and move to column B or C or D
    By jachbo in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 09-05-2013, 09:08 PM
  7. How to move data in Column A into seperate columns / rows
    By iain.sanderson@wanadoo.fr in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2006, 11:00 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