A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Excel conditional cell merge



 
 
Thread Tools Display Modes
  #1  
Old December 9th, 2008, 03:31 PM posted to microsoft.public.excel.misc
Sandip Dalvi
external usenet poster
 
Posts: 1
Default Excel conditional cell merge

Hi,
How we can merge rage of cell based on a condition may be in fourmula or
using macro
Regards
Sandip
  #2  
Old December 9th, 2008, 04:19 PM posted to microsoft.public.excel.misc
Max
external usenet poster
 
Posts: 8,574
Default Excel conditional cell merge

Presuming you meant say conditionally concatenate only if cols A and B both
contain numbers, then something like this
In C2: =IF(COUNT(A2:B2)=2,A2&", "&B2,"")
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---
"Sandip Dalvi" wrote:
How we can merge range of cell based on a condition may be in formula or
using macro

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:16 PM.


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