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=390068

  #2   Report Post  
bj
 
Posts: n/a
Default

try
=if(or(reference="",element=""),"",reference&eleme nt)

"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.


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


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
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
Formula Result Correct but value in the cell is wrong jac Excel Worksheet Functions 2 December 17th 04 08:05 PM


All times are GMT +1. The time now is 05:06 AM.

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"