Request macro

rohithbli

New Member
Joined
Jun 21, 2018
Messages
2
The column "name" must match with column "formula"


ex :the Value "Calculation_385057835130777604" must match in column "Formula" and must replace with column "Caption" value

"Calculation_385057835130777604"
must change to "Year_Brand"

[TABLE="width: 1091"]
<tbody>[TR]
[TD]caption[/TD]
[TD][/TD]
[TD]name[/TD]
[TD]formula[/TD]
[/TR]
[TR]
[TD]Year_Brand[/TD]
[TD][/TD]
[TD][Calculation_385057835130777604][/TD]
[TD]if [Parameters].[Parameter 2] = "This year" then [Calculation_385057835129393153]



elseif [Parameters].[Parameter 2] = "Current Month" then [Calculation_385057835129593858]



else [Calculation_385057835129860099]



END[/TD]
[/TR]
[TR]
[TD]Previous Year_[/TD]
[TD][/TD]
[TD][Calculation_385057835142270982][/TD]
[TD][Parameters].[Parameter 1]-1[/TD]
[/TR]
[TR]
[TD]ΔPY YTD_Brand[/TD]
[TD][/TD]
[TD][Calculation_385057835145179143][/TD]
[TD]SUM([Calculation_385057835130777604])-SUM([Data Shown Filter (copy)])[/TD]
[/TR]
[TR]
[TD]EU_YTD[/TD]
[TD][/TD]
[TD][Calculation_385057835146694665][/TD]
[TD]{ FIXED [Month],[SEGMENT] : SUM([Calculation_385057835130777604])}[/TD]
[/TR]
[TR]
[TD]Current Month_prev[/TD]
[TD][/TD]
[TD][Current Month (copy)][/TD]
[TD]if year([Month]) = year([Calculation_385057835142270982]) and month([Month]) = month([Parameters].[Year (copy)]) then [Zulassungen] end[/TD]
[/TR]
[TR]
[TD]Previous_Year_Brand




[/TD]
[TD][/TD]
[TD][Data Shown Filter (copy)][/TD]
[TD]if [Parameters].[Parameter 2] = "This year" then [This year (copy)]



elseif [Parameters].[Parameter 2] = "Current Month" then [Current Month (copy)]



else [YTD (copy)]



END


Thanks in advance


Regards
Rohit[/TD]
[/TR]
</tbody><colgroup><col><col><col><col></colgroup>[/TABLE]
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Forum statistics

Threads
1,224,813
Messages
6,181,112
Members
453,021
Latest member
Justyna P

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