Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
SNOWBALLCHAN
 
Posts: n/a
Default Return value with using Excel function

Use a function : =IF(AD3="","",VLOOKUP(AD3,Table!$E$2:$G$450,3,0)), return
value in cell AE3 e.g. = 03

My problem: Try posting this value to another cell using this function:
=IF(AE3<10,IF(AE3="","","50-0"&AE3&"-"&AB3&"-790-50026-0000"),IF(AE3="","","50-"&AE3&"-"&AB3&"-790-50026-0000"))

The return value always truncated the preceeding zero if I do not use the
last function

I I know this is not proper. Any good suggest from the Pro thanks.



  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

I think you probably have a format mis-match.

The value returned by your lookup formula, 03, is that a
text value or a number value with a custom format that
uses the leading zero?

If 03 is really a text value then:

=IF(AE3<10 = FALSE

If it is really a numeric value formatted with a leading
zero then yes, the leading zero will be truncated in a
formula unless the target cell is also formatted the same
because the true underlying value is 3 not 03.

Check and make sure all your cell formats are the same in
your lookup table.

Biff

-----Original Message-----
Use a function : =IF(AD3="","",VLOOKUP(AD3,Table!

$E$2:$G$450,3,0)), return
value in cell AE3 e.g. = 03

My problem: Try posting this value to another cell

using this function:
=IF(AE3<10,IF(AE3="","","50-0"&AE3&"-"&AB3&"-790-50026-

0000"),IF(AE3="","","50-"&AE3&"-"&AB3&"-790-50026-0000"))

The return value always truncated the preceeding zero

if I do not use the
last function

I I know this is not proper. Any good suggest from the

Pro thanks.



.

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
Will the Excel WEEKNUM function become ISO 8601 compliant? Gilles Moerdijk Excel Worksheet Functions 3 February 8th 05 07:05 PM
Does Excel 2000 have a 'datedif' function to calculate the number. Kaddy Excel Worksheet Functions 7 December 11th 04 08:53 PM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM
Missing function in Excel 2003 Galldrian Excel Discussion (Misc queries) 2 November 30th 04 12:34 PM


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