In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Replace data in a sheet (same workbook)

Jenina
8 - Asteroid

Hello - 

 

I am trying to replace the data in Sheet1 from Sheet2 range A2:B6.

I used the formula tool: Replace([FileName], "`Sheet2`", 'Sheet1$A21:B60') 

Change entire file path to Full path.

But I am still not getting it, looks like I am missing something.

 

 

Thanks for the help.

 

 

 

6 REPLIES 6
alexnajm
19 - Altair
19 - Altair

Is the formula above doing the Replace function? It looks like you might have extra apostrophes around Sheet2 that I am thinking is not making the Replace function work

Jenina
8 - Asteroid

@alexnajm I tried removing the extra ones but still not working, looks like it won't accept my range.

alexnajm
19 - Altair
19 - Altair

Can you send over the before and after result of your formula?

Jenina
8 - Asteroid

@alexnajmalexnajm

It's returning an error 'sheet1$a21:b60$ is an invalid sheet range specification for excel 

alexnajm
19 - Altair
19 - Altair

I’m not at my computer right now, but the path should look like “…output.xlsx|||Sheet1$A21:B60”

 

if it looks different, please show us the value so we can look further!

Jenina
8 - Asteroid

@alexnajm 

Yup it looks like that.

 

Thanks

Labels
Top Solution Authors