Hi,
I have the following data
I want to extract any information between ' '.
I am using the following formula
But my problem is that I only need the First instance where we have ' ',
The ending solution i.e., var2 should look like the following for the last observation S8.Billed Quantities+Revenues.
Any help would be greatly appreciated.
Thanks
I have the following data
Code:
* Example generated by -dataex-. For more info, type help dataex
clear
input str200 var1
"='General Inputs'!AC107"
"='NC_Opex'!AL37"
"='Model - Revenue Impact'!N$41"
"=SUMIFS('S8.Billed Quantities+Revenues'!$V,'S8.Billed Quantities+Revenues'!$D,$B364,'S8.Billed Quantities+Revenues'!$E,$C364,'S8.Billed Quantities+Revenues'!$F,$D364,'S8.Billed Quantities+Revenues'!$G"
end
I am using the following formula
Code:
moss var1, match("(\'.+\')") regex max(1)
The ending solution i.e., var2 should look like the following for the last observation S8.Billed Quantities+Revenues.
Any help would be greatly appreciated.
Thanks

Comment