Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
addie
 
Posts: n/a
Default 'IF' Statement for a Concaterate Formula


Hi,

I need an "IF" function for the concaterate formula that I'm working on
below:

Reference & Element = Consolidation
222 & 10000 = 22210000 = CORRECT
" " & 10000 = 10000 = WRONG

The consolidation field can only be populated with characters if both
the reference and element fields are populated. If either 'Reference'
or 'Element' is missing characters, the consolidation field must be not
be populated with any characters. It must simply read 'false' or
'blank'.

Thanks.


--
addie
------------------------------------------------------------------------
addie's Profile: http://www.excelforum.com/member.php...o&userid=25526
View this thread: http://www.excelforum.com/showthread...hreadid=390069

  #2   Report Post  
Govind
 
Posts: n/a
Default

Hi,

Use

=IF(OR(ISBLANK(A1),ISBLANK(B1)),"",A1&B1)

where column A has reference and column B has element. copy it to the
range you need.

Govind

addie wrote:
Hi,

I need an "IF" function for the concaterate formula that I'm working on
below:

Reference & Element = Consolidation
222 & 10000 = 22210000 = CORRECT
" " & 10000 = 10000 = WRONG

The consolidation field can only be populated with characters if both
the reference and element fields are populated. If either 'Reference'
or 'Element' is missing characters, the consolidation field must be not
be populated with any characters. It must simply read 'false' or
'blank'.

Thanks.


  #3   Report Post  
addie
 
Posts: n/a
Default


Govind,

IT WORKED!!!!!!!!!! :)

Thank you so much.

All the best,

Addie


--
addie
------------------------------------------------------------------------
addie's Profile: http://www.excelforum.com/member.php...o&userid=25526
View this thread: http://www.excelforum.com/showthread...hreadid=390069

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
Again-revealing the contents of formula srinivasan Excel Worksheet Functions 0 July 5th 05 06:25 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
=IF Statement formula or conditional formatting Abi Excel Worksheet Functions 6 January 18th 05 01:06 PM


All times are GMT +1. The time now is 09:41 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"