Changing value within a cell

lavppp

New Member
Joined
Apr 17, 2011
Messages
13
Hello to all,

In sheet1 there are content in column A only (several lines).

A1 content is "baba=1234"
A2 content is "zozo=5678"
Ax content is "something=####"

By the way there wont be 2 lines with the same content.

I would like to scan through the list, find a cell content that starts with zozo (the location of zozo=#### could change within the column A) and change 5678 for the value in cell A1 of sheet 2.

Can you help me? Thank you in advance.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Highlight column A.
Press CTRL & F
Press ALT & P

In Find what type: zozo=5678
In Find what type: zozo=the value you want to replace with
 
Upvote 0
I guess I should have mentioned I would like to do this in a form of a macro because I will have to repeat this excercise 4 times when I open the excel file.

Thanks for your help!
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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