how to replace some values

jamiguel77

Active Member
Joined
Feb 14, 2006
Messages
387
Office Version
  1. 2016
  2. 2010
  3. 2007
Platform
  1. Windows
  2. Web
hi in cell P1 i have this stratic String:

update tleonitodobmwfin set cleonitodobmwaduana='AAA', dleonitodobmwfechapag='BBB', fleonitodobmwtipcamb=CCC, cleonitodobmwcvepedim='DDD', fleonitodobmwvalorcompedim=EEE, fleonitodobmwvaloraduanapedim=FFF, cleonitodobmwfraccpedim='GGG', cleonitodobmwunidad='HHH', fleonitodobmwvalorusdpartida=III, cleonitodobmwfoliovta='JJJ', dleonitodobmwfechafact='KKK' where ileonitodobmwid=LLL

the data strat on row 3 and on column A,B,C,D and so on... in cell P3 i want a formula similar to:
=concat($P$1,) but here is my problem, how to do?

Thanks
 

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.
So the value shown for P1 is a combination of the values in Columns A,B,C,etc.?

t0ny84
 
Upvote 0
i need replace AAA by cell value of A3 BBB by B3 and so on...

The Value on P1 all is Static.....

i solved the problem:

="update tleonitodobmwfin set cleonitodobmwaduana='" & A3 & "', dleonitodobmwfechapag='" & B3 & "', fleonitodobmwtipcamb=" & C3 & ", cleonitodobmwcvepedim='" & D3 & "', fleonitodobmwvalorcompedim=" & E3 & ", fleonitodobmwvaloraduanapedim=" & F3 & ", cleonitodobmwfraccpedim='" & G3 & "', cleonitodobmwunidad='" & H3 & "', fleonitodobmwvalorusdpartida=" & I3 & ", cleonitodobmwfoliovta='" & J3 & "', dleonitodobmwfechafact='" & K3 & "' where ileonitodobmwid=" & L3

But not use P1

any advice? thanks
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,183
Members
452,615
Latest member
bogeys2birdies

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