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

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
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,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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