Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I have a sheet with some datas in D column. I need to extract the values that have less then 11 characters and adding from left many 0 untill reach 11 characters.. I explain with an example:
12345678912 --> this is correct
123456789 --> this is incorrect and has 9 characters so i need adding from left 2 zeros
result:
00123456789 --> now is correct
Is there a macro or a formula that could be useful for my goal? Thanks
Assuming the data is stored as numbers, you can simply use =TEXT(A1,"00000000000"). If it's stored as text then use =REPT("0",LEN(A1)-11))&A1
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have a file containing many lines like
"resourcename" : "myfile.pdf",
I want to replace everywhere myfile.pdf with an URL like http://somedomain.com/myfile.pdf. But the file name keeps changing. So if myfile.pdf becomes yourfile.pdf, I want to replace it with http://somedomain.com/yourfile.pdf.
What is an efficient way to do global replacement(/g) without affecting the file's encoding like UTF-8?
Thanks
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
incr like_unlike_counter1234['b']['total']by 1 with ttl=10;
How to implement ttl in counter column .There is any way for that?
No, counter columns don't support TTLs. See Jira issue CASSANDRA-2103 for the technical details why this is tricky.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have several variables with monthly stock returns like qqqret, gldret,spyret. I would like to create a stacked histogram or dotplot of them all on the same scale. any ideas how?
thanks!
ps. if i stack my vectors on top of each other and create an indicator variable for each one I could use strip plot. but i want to be able to say something like "hist qqqret gldret spyret"
dotplot supports a varlist: see the help.
stripplot (SSC) is an alternative.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question
I have data in the following format:
Variable - Value
A 1
B 2
A 3
B 4
and so on.
Notice how the variable is recurring for different values. I want to draw a line for each variable that shows its different values assuming the X-axis is time.
Please any help.
I would start off by creating a Pivot table based on the data that you have and then create the line graph from there.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I'm looking for a way to create a rule for StyleCop, Resharper, Visual Studio itself or at least a add in which show me a visual warning if a method is longer than X characters / longer than X lines.
Anyone some working solutions?
This is a very simple rule to create with StyleCop. If you don't feel like rolling your own, StyleCop+ includes such a rule that is configurable to your preferred maximum method length.