Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 9
Default Replace Cell Content Automatically from List

Dear All,

I regularly check my phone bills and see who I text and call, but when I
access my phone bill online, all I get is numbers, as they don't have the
names....

I was thinking, if I save this list out and have it in a sheet, excel can
look at another sheet and if the number matches replace the number with a
name..

Is this easy to do?

Regards
Paul.


  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 35,218
Default Replace Cell Content Automatically from List

You could build a table on that second sheet.

Column A would contain the phone numbers and column B would contain the name.
Name that sheet -- Table.

Then you could use a formula like this in an empty cell on the sheet with the
data:

=vlookup(a2,table!a:b,2,false)
You'll see an error (#n/a) if there isn't a match.

You could hide by changing your formula:

=if(isna(vlookup(a2,table!a:b,2,false)),"Missing", vlookup(a2,table!a:b,2,false)))

You could use =iferror() in xl2007 to hide the #n/a error.

Debra Dalgleish has lots of notes:
http://www.contextures.com/xlFunctions02.html (for =vlookup())
and
http://contextures.com/xlFunctions02.html#Trouble

"Kardon Coupé" wrote:

Dear All,

I regularly check my phone bills and see who I text and call, but when I
access my phone bill online, all I get is numbers, as they don't have the
names....

I was thinking, if I save this list out and have it in a sheet, excel can
look at another sheet and if the number matches replace the number with a
name..

Is this easy to do?

Regards
Paul.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 9
Default Replace Cell Content Automatically from List

That worked for me, thanks... =-)

"Dave Peterson" wrote in message
...
You could build a table on that second sheet.

Column A would contain the phone numbers and column B would contain the
name.
Name that sheet -- Table.

Then you could use a formula like this in an empty cell on the sheet with
the
data:

=vlookup(a2,table!a:b,2,false)
You'll see an error (#n/a) if there isn't a match.

You could hide by changing your formula:

=if(isna(vlookup(a2,table!a:b,2,false)),"Missing", vlookup(a2,table!a:b,2,false)))

You could use =iferror() in xl2007 to hide the #n/a error.

Debra Dalgleish has lots of notes:
http://www.contextures.com/xlFunctions02.html (for =vlookup())
and
http://contextures.com/xlFunctions02.html#Trouble

"Kardon Coupé" wrote:

Dear All,

I regularly check my phone bills and see who I text and call, but when I
access my phone bill online, all I get is numbers, as they don't have the
names....

I was thinking, if I save this list out and have it in a sheet, excel can
look at another sheet and if the number matches replace the number with a
name..

Is this easy to do?

Regards
Paul.


--

Dave Peterson



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
Replace entire cell content Steve C Excel Discussion (Misc queries) 1 November 22nd 09 11:26 PM
How to Find/Replace * (asterisk) in cell content Topmark Excel Discussion (Misc queries) 4 October 23rd 08 05:49 PM
Search and Replace Entire Cell Content JerryG Excel Discussion (Misc queries) 4 May 29th 08 09:37 AM
replace the content of cell Wu Excel Discussion (Misc queries) 3 December 11th 07 12:13 PM
Automatically replace cell value with next in list... ChuckF Excel Worksheet Functions 2 September 6th 06 06:41 PM


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