#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 361
Default IF Question



Can I modify this:

=IF(MID(N3;6;3)="OLA";MID(N3;6;3)&LEFT(N3;3);Y3&MI D(N3;6;1))

to include this:

If AP3="PA-OUT" then ("PA" & LEFT(n3;3))

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default IF Question

More info needed. What is the requirement in English?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"carl" wrote in message
...


Can I modify this:

=IF(MID(N3;6;3)="OLA";MID(N3;6;3)&LEFT(N3;3);Y3&MI D(N3;6;1))

to include this:

If AP3="PA-OUT" then ("PA" & LEFT(n3;3))

Thank you in advance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default IF Question

Here's one way:

IF(AP3="PA-OUT";"PA"&LEFT(n3;3);IF(MID(N3;6;3)="OLA";MID(N3;6 ;3)&LEFT(N3;3);Y3&MID(N3;6;1)))

This will look at AP3 first.

Hope this helps.

Pete

carl wrote:
Can I modify this:

=IF(MID(N3;6;3)="OLA";MID(N3;6;3)&LEFT(N3;3);Y3&MI D(N3;6;1))

to include this:

If AP3="PA-OUT" then ("PA" & LEFT(n3;3))

Thank you 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
Possibly a loaded question, but I think mileslit Excel Discussion (Misc queries) 1 September 10th 05 01:18 AM
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
Newbie With A Question Michael Excel Worksheet Functions 0 July 28th 05 11:50 PM
Anybody Help with previous question Anthony Excel Discussion (Misc queries) 1 July 26th 05 01:26 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"