Separate Phone Numbers

realdallas1

New Member
Joined
Oct 7, 2024
Messages
2
Office Version
  1. 2003 or older
Platform
  1. Windows
have excel sheet that has 3 columns of numbers and 3 columns of number types. i need to eliminate the landlines and keep the mobiles. do you have any suggestions on hoe to do this? any help is appreciated.


First NameLast NameProperty CityProperty StateProperty AddressPhone 1Phone 2Phone 3Phone 1 TYPEPhone 2 TYPEPhone 3 TYPE
abcabcabcabcabcLandlineLandlineMobile
abcabcabcabcabcMobileMobile
abcabcabcabcabcMobileMobileLandline
abcabcabcabcabcLandlineLandlineLandline
abcabcabcabcabcLandlineLandlineLandline
abcabcabcabcabcMobileLandlineMobile
abcabcabcabcabcMobileLandlineMobile
abcabcabcabcabcLandlineLandlineLandline
abcabcabcabcabcMobileMobileMobile
[td]
1​
[/td]​
[td]
2​
[/td]​
[td]
3​
[/td]​
[td]
1​
[/td]​
[td]
2​
[/td]​
[td]
1​
[/td]​
[td]
2​
[/td]​
[td]
3​
[/td]​
[td]
1​
[/td]​
[td]
2​
[/td]​
[td]
3​
[/td]​
[td]
1​
[/td]​
[td]
2​
[/td]​
[td]
3​
[/td]​
[td]
1​
[/td]​
[td]
2​
[/td]​
[td]
3​
[/td]​
[td]
1​
[/td]​
[td]
2​
[/td]​
[td]
3​
[/td]​
[td]
1​
[/td]​
[td]
2​
[/td]​
[td]
3​
[/td]​
[td]
1​
[/td]​
[td]
2​
[/td]​
[td]
3​
[/td]​
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
What do you mean by 'eliminate' landlines?
Do you mean you want to clear the contents of the corresponding cell if the type is LANDLINE e.g. clear Phone1 if Phone1 TYPE = Landline.
Or perhaps you want to delete the entire row?

If you just want to clear the contents the simplest would be to use a formula adjacent to your table as shown below, then copy the formula range and paste values over the top of the numbers. So in the example below, copy the range M2:O10 and then Paste Special->Values to F2.

Book1
ABCDEFGHIJKLMNO
1First NameLast NameProperty CityProperty StateProperty AddressPhone 1Phone 2Phone 3Phone 1 TYPEPhone 2 TYPEPhone 3 TYPE
2abcabcabcabcabc123LandlineLandlineMobile  3
3abcabcabcabcabc456MobileMobile456
4abcabcabcabcabc789MobileMobileLandline78 
5abcabcabcabcabc101112LandlineLandlineLandline   
6abcabcabcabcabc131415LandlineLandlineLandline   
7abcabcabcabcabc161718MobileLandlineMobile16 18
8abcabcabcabcabc192021MobileLandlineMobile19 21
9abcabcabcabcabc222324LandlineLandlineLandline   
10abcabcabcabcabc252627MobileMobileMobile252627
Sheet2
Cell Formulas
RangeFormula
M2:O10M2=IF(I2="Landline","",F2)
 
Last edited:
Upvote 0
Solution
to acount for blanks like in K3 you could tweak to account for blanks
Excel Formula:
=IF(OR(I2="Landline",I2=""),"",F2)
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top