Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 137
Default how to combine number data from one column into another column

I have 2 columns with "1's" used to indicate a checkmark in that column. I
want to move the data from one column (eg column A) to another column (eg
column b) to consolidate the data into the one column (column b). This looks
like this:

A B into B
1 1
1 1
1 1
1 1
1 1

I would then be able to sum the numbers in column B to get a new total that
is the total of the old A and B. Thanks for your help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default how to combine number data from one column into another column

As-is, if you just want the sum,
you could simply use in say C1: =SUM(A:B)

But if you want to merge cols A & B in col C:
a. If data in cols A & B contain only numbers
In C1: =IF(COUNT(A1:B1)=2,"",SUM(A1:B1))
Copy down to merge it in col C

b. If data in cols A & B contain text or mixed text/numbers
In C1: =IF(COUNTA(A1:B1)=2,"",IF(A1="",B1,A1))
Copy down to merge it in col C
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,700 Files:359 Subscribers:55
xdemechanik
---
"newbie" wrote:
I have 2 columns with "1's" used to indicate a checkmark in that column. I
want to move the data from one column (eg column A) to another column (eg
column b) to consolidate the data into the one column (column b). This looks
like this:

A B into B
1 1
1 1
1 1
1 1
1 1

I would then be able to sum the numbers in column B to get a new total that
is the total of the old A and B. Thanks for your help.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
combine column data Mitchell_Collen via OfficeKB.com Excel Discussion (Misc queries) 3 February 5th 08 08:03 PM
how to combine data from Column A & B CORaccounting Excel Discussion (Misc queries) 3 December 1st 07 03:59 PM
How can I combine multiple columns of data into 1 column? Frank New Users to Excel 1 January 17th 07 07:37 PM
Combine 2 spreadsheets w/1 common column of data, text and number Ginger Excel Worksheet Functions 0 March 26th 06 11:45 PM
How to combine data from two columns into one column? dcnguyen Excel Worksheet Functions 3 January 8th 06 11:40 PM


All times are GMT +1. The time now is 10:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"