Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Excel Guru Required

Thread Tools
 
Search this Thread
 
Old 04 April 2005, 10:51 AM
  #1  
Hobbsy
Scooby Regular
Thread Starter
 
Hobbsy's Avatar
 
Join Date: Sep 1999
Posts: 153
Likes: 0
Received 0 Likes on 0 Posts
Default Excel Guru Required

have some data that I need to sort.

Column A has cost centre

Column B has location

Column C user details

Column D Telephone number

I ceased about 100 telephone lines about a year ago and they still appear on our BT bill (column D). These numbers I can paste into say column G. Is there a Formula and/or V look up that can be used to do the following. If the data is in column G and appears in column D then it puts text in say column E as ceased?

Cheers
Old 04 April 2005, 11:23 AM
  #2  
markr1963
Scooby Regular
 
markr1963's Avatar
 
Join Date: Jun 2002
Location: Perth, Western Australia
Posts: 1,866
Likes: 0
Received 0 Likes on 0 Posts
Default

I'd paste the numbers on to a separate sheet and do an ascending sort.

On the sheet with your existing data, in col D use something like this

=IF(ISERROR(VLOOKUP(Sheet1!A1,Sheet2!$A$1:$A$17,1,0)),"","ceased")

Where A1 is the number you are looking to match
Sheet2!$A$1:$A$17 is the lookup range. You could use a named range instead. Don't forget to use absolute addressing!
1 is the column number returned from the lookup range
0 makes the expression retun exact matches only

HTH
Mark
Old 04 April 2005, 12:09 PM
  #3  
Hobbsy
Scooby Regular
Thread Starter
 
Hobbsy's Avatar
 
Join Date: Sep 1999
Posts: 153
Likes: 0
Received 0 Likes on 0 Posts
Default

Mark, you have lost me somewhat. Can A1 be refrenced to the number range. I have 100 numbers that I am sure are in the original data just dont want to have to manually sort through and type ceased.
Old 04 April 2005, 12:55 PM
  #4  
markr1963
Scooby Regular
 
markr1963's Avatar
 
Join Date: Jun 2002
Location: Perth, Western Australia
Posts: 1,866
Likes: 0
Received 0 Likes on 0 Posts
Default

The references I used are just examples. If I understand you, you've got 3 columns of data; A, B and C on Sheet 1. The number of rows doesn't matter. In your col D of the first row of data (D1 maybe) the formula would look something like:
=IF(ISERROR(VLOOKUP(Sheet1!A1,Sheet2!$A$1:$A$17,1, 0)),"","ceased")

Remember the sheet2 bit will need altering to fit your data so 100 hundred numbers would be something like $A$1:$A$100. This list is what you're trying to match to the numbers you have in col C on sheet 1. Assuming the formula in D1 gives the correct answer copy the formula down col D. The sheet 1 refence will change to match the row but the range defined on sheet 2 'cos of the absolute reference (the $ bit)


Hope that's a bit clearer

Mark
Old 04 April 2005, 01:12 PM
  #5  
markr1963
Scooby Regular
 
markr1963's Avatar
 
Join Date: Jun 2002
Location: Perth, Western Australia
Posts: 1,866
Likes: 0
Received 0 Likes on 0 Posts
Default

This might help


Mark
Old 04 April 2005, 02:23 PM
  #6  
Hobbsy
Scooby Regular
Thread Starter
 
Hobbsy's Avatar
 
Join Date: Sep 1999
Posts: 153
Likes: 0
Received 0 Likes on 0 Posts
Default

Cheers Mark for your time, managed a bodge way of sorts using a formula d2-d1 but will give your method a go as it is a far more proffesinal way of doing it!

Cheers again
Old 04 April 2005, 02:27 PM
  #7  
markr1963
Scooby Regular
 
markr1963's Avatar
 
Join Date: Jun 2002
Location: Perth, Western Australia
Posts: 1,866
Likes: 0
Received 0 Likes on 0 Posts
Default

No worries
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
leg200
Subaru Parts
5
07 October 2015 07:31 AM
has-scooby
Subaru Parts
4
06 October 2015 03:47 PM
FuZzBoM
Wheels, Tyres & Brakes
16
04 October 2015 09:49 PM



Quick Reply: Excel Guru Required



All times are GMT +1. The time now is 05:54 AM.