#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default IF Statement

I have an IF statement formula already and I wanted to know if I could insert
another one, inserting certain numbers.

Example:
1101(data coming in) and I want to insert 310(for every one) in
front while picking up the first four digits. The problem is that the data
coming in is not always consistent.

Below is my IF Statement:

=IF(ISERR(VALUE(LEFT(A2752,1))2),H2751,IF(VALUE(L EFT(A2752,1))2,VALUE(LEFT(A2752,4)),VALUE(LEFT(A2 752,2))))

Thanks in advance.



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default IF Statement

Hi,

I don't understand this.
What value do you have in A2752? Give examples of other values.
What value do you expect the formula to output?

Mike

"mcp201" wrote:

I have an IF statement formula already and I wanted to know if I could insert
another one, inserting certain numbers.

Example:
1101(data coming in) and I want to insert 310(for every one) in
front while picking up the first four digits. The problem is that the data
coming in is not always consistent.

Below is my IF Statement:

=IF(ISERR(VALUE(LEFT(A2752,1))2),H2751,IF(VALUE(L EFT(A2752,1))2,VALUE(LEFT(A2752,4)),VALUE(LEFT(A2 752,2))))

Thanks in advance.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default IF Statement


I actually get values from two different places. One value coming in for
example is 31011101(A2752) and another is 1101. I want the VLOOKUP to insert
the 310 in front of the data from the second source. I expect to get the 3101
number for both sources. I understand how it is done for the first source,
but not the second. I am currently manually inputting the 310 in front of the
second source.



"Mike H" wrote:

Hi,

I don't understand this.
What value do you have in A2752? Give examples of other values.
What value do you expect the formula to output?

Mike

"mcp201" wrote:

I have an IF statement formula already and I wanted to know if I could insert
another one, inserting certain numbers.

Example:
1101(data coming in) and I want to insert 310(for every one) in
front while picking up the first four digits. The problem is that the data
coming in is not always consistent.

Below is my IF Statement:

=IF(ISERR(VALUE(LEFT(A2752,1))2),H2751,IF(VALUE(L EFT(A2752,1))2,VALUE(LEFT(A2752,4)),VALUE(LEFT(A2 752,2))))

Thanks in advance.



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
Sum if statement with a left statement Eric D Excel Discussion (Misc queries) 4 July 23rd 08 05:31 PM
SUMIF statement with AND statement Eric D Excel Discussion (Misc queries) 2 July 14th 08 07:24 PM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


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