LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Jamie Furlong
 
Posts: n/a
Default

"Peo Sjoblom" wrote in message
...
He is using a newsreader


Indeed - I didn't even know there was another way of reading this.. Is there
a copy of these posts on a forum or something, then?
I prefer news-readers thought - it's all just so much....quicker!

There was one problem with the formula - the first 5 characters of a product
determine the actual main generic product, for which there might or might
not be extra characters, and there may or may not be an image with a
different ending.
In other words: product: 12345-large image: 12345-various.jpg
I got totally stumped because I made an error (didn't put a . before the *)
and went hunting in forums, one of which seemed to suggest that regular
expressions must be prefixed by "/..", and so I tried a variation and ended
up with:
=IF(ISNA(VLOOKUP(A16&/..*;$D$2:$D$5000;1;0));"";VLOOKUP(A16&/..*;$d$2:$d$5000;1;0))
Of course, it didn't work, and I spent a good couple of hours trying to wrap
a LEFT statement round it (you can tell I'm new to this!).
In the end, it actually just ended up being
=IF(ISNA(VLOOKUP(A16&".*";$D$2:$D$5000;1;0));"";VL OOKUP(A16&".*";$D$2:$D$5000;1;0))

(Know a lot more about regular expressions and vlookup than I did 3 hours
ago, though!)

Anyway, thanks for all the help.


 
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
making only specified columns visible [email protected] Excel Discussion (Misc queries) 1 April 6th 05 04:57 PM
Making list with unique columns Adam Excel Worksheet Functions 7 March 11th 05 09:21 AM
making used values fall from a list static69 Excel Discussion (Misc queries) 4 February 17th 05 02:04 AM
making columns automatically turn numbers into negatives Kathy Excel Worksheet Functions 6 February 1st 05 05:23 AM
Making Rows into Columns Tony Williams Excel Discussion (Misc queries) 1 December 2nd 04 03:47 PM


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