PC Review


Reply
Thread Tools Rate Thread

Changing data in column for multiple rows

 
 
Big Krackers
Guest
Posts: n/a
 
      3rd Apr 2008
Hello,
I'm pretty new to Excel and database applications in general so forgive me
for any wording or vocabulary that I might lack.

I have a list of ip addresses, about 200 rows, in one column. The addresses
are separated into four octets (xx.xx.xx.xx) and I need to edit the last
octet in every row to zero so that it looks like xx.xx.xx.0

What I did was use the text to columns action to isolate the last octet into
it's own column so I could zero it out but then of course I couldn't figure
out how to merge everything back together again. (I figured out how to merge
on the cell level with multiple columns but I couldn't figure out how to get
the formula to work all the way down the list) So, what I think would be
simpler is to just learn how to edit the ip address in the original column
without using text to columns.

So for example:

Before: After:
A A
129.16.12.200 129.16.12.0

And so on all the way down the column. Note, the ip addresses are all
different.

Thanks,
BK






--
Boss: "Do you know Excel?"
Me: "No."
Boss: "Figure it out now please."


 
Reply With Quote
 
 
 
 
FSt1
Guest
Posts: n/a
 
      3rd Apr 2008
hi
A simple formula would work.
Assuming the data start at A1, in B1, put this formula....
=LEFT(A1,10)&0

then copy the formula and copy down B column to the end of the list. after
you can copy the B column and paste special - values to turn the formula into
hard data.

Post back if you have problems.

Regards
FSt1


"Big Krackers" wrote:

> Hello,
> I'm pretty new to Excel and database applications in general so forgive me
> for any wording or vocabulary that I might lack.
>
> I have a list of ip addresses, about 200 rows, in one column. The addresses
> are separated into four octets (xx.xx.xx.xx) and I need to edit the last
> octet in every row to zero so that it looks like xx.xx.xx.0
>
> What I did was use the text to columns action to isolate the last octet into
> it's own column so I could zero it out but then of course I couldn't figure
> out how to merge everything back together again. (I figured out how to merge
> on the cell level with multiple columns but I couldn't figure out how to get
> the formula to work all the way down the list) So, what I think would be
> simpler is to just learn how to edit the ip address in the original column
> without using text to columns.
>
> So for example:
>
> Before: After:
> A A
> 129.16.12.200 129.16.12.0
>
> And so on all the way down the column. Note, the ip addresses are all
> different.
>
> Thanks,
> BK
>
>
>
>
>
>
> --
> Boss: "Do you know Excel?"
> Me: "No."
> Boss: "Figure it out now please."
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy rows multiple times changing value of a cell in one column each time EE Microsoft Excel Programming 1 11th Oct 2007 01:13 PM
How do I sort or filter rows without column A data changing? =?Utf-8?B?S2VzYnV0bGVy?= Microsoft Excel Misc 7 27th Jul 2007 10:57 PM
transposing data from 1 column into multiple rows =?Utf-8?B?R2luYQ==?= Microsoft Excel Misc 2 5th Apr 2007 06:06 PM
Data Entered in Multiple Rows to One Column rashly Microsoft Excel Programming 4 29th Jun 2005 05:53 PM
How can I convert a data from multiple rows into 1 column? =?Utf-8?B?eXVkaV9sa3M=?= Microsoft Excel Worksheet Functions 10 30th Jan 2005 03:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:21 PM.