+ Reply to Thread
Results 1 to 13 of 13

Need formula combine 2 columns into one column

  1. #1
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Need formula combine 2 columns into one column

    Hello,

    I need a formula to combine column F & G into one column. I have attached a file here. And the screenshot below.

    If column D less or =4, then I need to use the formula from F, if greater than 4, then needs to use the formula in G. Each formula pull the data from a sheet. Column F & G will be deleted afterward.

    Thanks for the help.

    Tests.PNG
    Attached Files Attached Files
    Last edited by jackson_hollon; 02-22-2020 at 03:36 AM.

  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
    81,226

    Re: Need formula combine 2 columns into one column

    I think you are going to kick yourself in a minute:

    =F2+G2

    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
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: Need formula combine 2 columns into one column

    AliGW,

    No, I know your formula. I am talking about I need a formula to combine 2 formulas together. I do not know how to say it. If you look at my file, you will see each formula pull the data from a sheet.

    column F & G will be deleted.

  4. #4
    Forum Contributor
    Join Date
    06-26-2013
    Location
    LAX
    MS-Off Ver
    Excel 2007,Excel 2010
    Posts
    363

    Re: Need formula combine 2 columns into one column

    Hi Jackson,

    Check if this works

    Please Login or Register  to view this content.

  5. #5
    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
    81,226

    Re: Need formula combine 2 columns into one column

    Sorry - I misread your post. Looks like you have a solution, though.

    Here's another:

    =IF(C2="Net Income", 0, IF(LEFT(D2,1)>4, SUMIF(BS!$C:$C,Con!D2,BS!$D:$D), 0))+IF(LEFT(D2, 1)>3, SUMIF(QTD!$C:$C,Con!D2,QTD!$D:$D), 0)
    Last edited by AliGW; 02-22-2020 at 03:32 AM.

  6. #6
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: Need formula combine 2 columns into one column

    elayaz,

    The formula works great. Thanks.

  7. #7
    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
    81,226

    Re: Need formula combine 2 columns into one column

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  8. #8
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: Need formula combine 2 columns into one column

    AliGW,

    Your formula works perfectly. Thanks.

  9. #9
    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
    81,226

    Re: Need formula combine 2 columns into one column

    It's just the same as the simple one I offered above, just using the formulae.

  10. #10
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: Need formula combine 2 columns into one column

    AliGW,

    I do not know why when I combined my 2 formulas into one, it doesn't work. I do not know what I have done wrong.

  11. #11
    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
    81,226

    Re: Need formula combine 2 columns into one column

    Does not work in what way?

    Just copy paste the first, then +, then the other.
    Attached Files Attached Files

  12. #12
    Forum Contributor
    Join Date
    06-07-2013
    Location
    US
    MS-Off Ver
    Excel 365
    Posts
    485

    Re: Need formula combine 2 columns into one column

    AliGW,

    You just taught me a way how to combine 2 formulas together. Thanks.

  13. #13
    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
    81,226

    Re: Need formula combine 2 columns into one column

    This will only work if the two values can be summed together. It's not the usual way, but just happens to work in this particular case.

+ 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] Formula to combine two columns and change third column depending if it's a match
    By james1539 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-07-2016, 07:52 AM
  2. [SOLVED] Combine words of different columns in one column
    By jesse030 in forum Excel General
    Replies: 3
    Last Post: 04-14-2016, 01:06 AM
  3. Replies: 6
    Last Post: 11-25-2015, 01:01 PM
  4. MAcro to - copy, transpose, text to columns, remove column A, combine all columns in 1
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 02-07-2013, 08:48 AM
  5. Combine multiple columns into one column with header and date in another column
    By JJadams in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-12-2012, 05:30 PM
  6. How to combine several columns in one column
    By malnahar in forum Excel General
    Replies: 4
    Last Post: 05-06-2012, 04:15 PM
  7. Replies: 0
    Last Post: 07-31-2006, 12:13 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