Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Adding cells from two columns with contact into one cell

I want to know if it is possible to add content from two columns into one
cells with multiple criteria. example. column 1 criteria is either AM or PM
and I have to beable to distinguish between the two. Column 2 is scheduled,
unscheduled, tardy, etc., column 2 has like seven different criteria. Is
there a way of doing this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Adding cells from two columns with contact into one cell

Not sure whether this is what you are looking for. Try the below in cell C2
with your text value in A2 and B2...

=IF(AND(SUM(COUNTIF(A2,{"AM","PM"})),
SUM(COUNTIF(B2,{"scheduled","unscheduled","tardy"} ))),A2&"-" &B2,"")

--
Jacob (MVP - Excel)


"gridenbaugh" wrote:

I want to know if it is possible to add content from two columns into one
cells with multiple criteria. example. column 1 criteria is either AM or PM
and I have to beable to distinguish between the two. Column 2 is scheduled,
unscheduled, tardy, etc., column 2 has like seven different criteria. Is
there a way of doing this?

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
formula for adding cells in different rows and different columns Diogie Excel Worksheet Functions 4 August 31st 09 01:46 AM
Adding sums in rows and columns and colouring cells with condition Manosh Excel Discussion (Misc queries) 2 June 4th 09 06:09 AM
Split one cell into 4 cells without adding columns? Spankie1 Excel Discussion (Misc queries) 2 November 3rd 08 11:45 PM
How do I turn 1 cell into 2 cells without adding columns or rows? Shawna Excel Discussion (Misc queries) 2 May 30th 08 10:34 PM
Excel contact list-going from one row to mult. columns GTRich Excel Discussion (Misc queries) 1 June 3rd 05 10:48 PM


All times are GMT +1. The time now is 04:11 PM.

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

About Us

"It's about Microsoft Excel"