Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sal
 
Posts: n/a
Default Extension of and IF & VLOOKUP statement

Hi,

I written the following formula to extract data from another workbook into
my current work using IF and VLOOKUP.
=IF(B81,VLOOKUP(B8,S3.XLS!Sales,8, 0),"")

I would also like to be able to to only extract some of this information;
These are examples of the data:
Settled 4.8.04
Builders Terms B4 5.7.05

BUT I would only like to see B4 5.7.05 and not include words like Settled
and Builders Terms.

Any ideas?

Thanks

  #2   Report Post  
Max
 
Posts: n/a
Default

Presuming your formula:
=IF(B81,VLOOKUP(B8,S3.XLS!Sales,8, 0),"")


is in C8 and is returning values such as:
Settled 4.8.04
Builders Terms B4 5.7.05


then you could try instead in C8:
=TRIM(SUBSTITUTE(TRIM(SUBSTITUTE(IF(B81,VLOOKUP(B 8,s3.xls!Sales,8,
0),""),"Settled","")),"Builders Terms",""))

This will remove the phrases: "Settled" or "Builders Terms"
from the original formula's returns
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Sal" wrote in message
...
Hi,

I written the following formula to extract data from another workbook into
my current work using IF and VLOOKUP.
=IF(B81,VLOOKUP(B8,S3.XLS!Sales,8, 0),"")

I would also like to be able to to only extract some of this information;
These are examples of the data:
Settled 4.8.04
Builders Terms B4 5.7.05

BUT I would only like to see B4 5.7.05 and not include words like Settled
and Builders Terms.

Any ideas?

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
Vlookup Syntax Error YV New Users to Excel 9 December 23rd 04 05:28 PM
Statement lintan Excel Worksheet Functions 1 December 2nd 04 11:31 PM
Need help with modifying VLookUp Tom Excel Discussion (Misc queries) 4 December 2nd 04 12:44 AM
IF or Vlookup or.... Which is best for this example: SSHO_99 Excel Worksheet Functions 10 November 16th 04 05:52 PM
VLOOKUP not working Scott Excel Worksheet Functions 3 November 12th 04 08:06 PM


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