Programming

Programming Questions? Ask a Programmer for Answers ASAP

Ask a Computer Expert,

Get an Answer ASAP!

Programming# I need assistance with SQL coding that involves Lead, Lag,

**Submitted:** 1 year ago.**Category: **Programming

Customer Question

Partition and related coding. It...

I need assistance with SQL coding that involves Lead, Lag, Partition and related coding. It involves numbering a list of titles and values from 1 to x, x being when a title changes. Then I want to calculate a running total when the count gets to 12 and then a rolling 12-month total starting in the 12th row. Financially, when the count gets to 24, I want it to compute the R12 value at 24 divided by the value at row 12. Does that make sense and can you help me?

JA: What programs and versions are you using?

Customer: SQL 2016

JA: What is your ideal outcome? How can we solve this for you?

Customer: Replicate a sequence numbering, rolling 12 month value and percent change that I am now doing in Excel.

JA: Anything else you want the programmer to know before I connect you?

Customer: I don't think so.

JA: What programs and versions are you using?

Customer: SQL 2016

JA: What is your ideal outcome? How can we solve this for you?

Customer: Replicate a sequence numbering, rolling 12 month value and percent change that I am now doing in Excel.

JA: Anything else you want the programmer to know before I connect you?

Customer: I don't think so.

Show More

Show Less

A new question is answered every 9 seconds

How JustAnswer works:

- Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
- Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
- 100% Satisfaction GuaranteeRate the answer you receive.

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.

JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.

Web sites like justanswer.com/legal

...leave nothing to chance.

...leave nothing to chance.

Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.

Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.

I will tell you that...the things you have to go through to be an Expert are quite rigorous.

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

New York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

Los Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

Hesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

Kernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

Woodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

Elkton, Maryland

< Previous | Next >

ATLPROG

Computer Software Engineer

7,677 satisfied customers

MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML

LogicPro

Computer Software Engineer

7,109 satisfied customers

Expert in C, C++, Java, DOT NET, Python, HTML, Javascript, Design.

unvadim

Computer Software Engineer

1,168 satisfied customers

Good knowledge of OOP principles. 3+ years of programming experience with Java and C++. Sun Certified Java Programmer 5.0.

lifesaver

Computer Software Engineer

950 satisfied customers

Several years of intensive programming and application development experience in various platforms.

ehabtutor

Computer Software Engineer

936 satisfied customers

Bachelor of computer science, 5+ years experience in software development, software company owner

TheDoctor

Software Engineer

893 satisfied customers

M.S. in Internet Information Systems

The-PC-Guy

Software Engineer

789 satisfied customers

Extensive Knowledge in PHP, MYSQL, CSS & Javascript

< Previous | Next >

Related Programming Questions

I have excel 2013. and I'm trying to load the solver add-in.

I have excel 2013. and I'm trying to load the solver add-in. That seems to have been successful, but I don't have and 'analysis group' in the data tab. What's the problem? Cheers, … read more

I need Excel help that is advanced in nature... In Excel, I

Hello, I need Excel help that is advanced in nature... … read more

I am trying to make a formula in an excel cell that will

I am trying to make a formula in an excel cell that will state if the value in cell L2 is 2 than the range in cells J2, J3 ,J4 is 50 to 58, if the value in L2 is 3 Than the range in J2, J3, J4 is 55 t… read more

I have an Excel question how does this work? Excel 2010. I

I need a formula but it would be easier to show you what I need rather than trying to explain it is there a way I can do that? … read more

Changed formatting resets every time excel is opened. Excel

changed formatting resets every time excel is opened … read more

We have a schedule (excel/VBA) that was created by a person

we have a schedule (excel/VBA) that was created by a person no longer at our company. It has multiply tabs and at the time it worked great. Now we need to add product however it does not have the simp… read more

I just have one question on excel. Excel 2016. I need some

HI I just have one question on excel JA: What programs and versions are you using? Customer: excel 2016 JA: What is your ideal outcome? How can we solve this for you? Customer: I need some tip tips st… read more

I need some help with an excel formula. Microsoft excel

I trying to use an index and match function using three criteria to pull a value off of a chart … read more

I know that Excel is a math based program. Is there a way to

I know that Excel is a math based program. Is there a way to learn it with limited math skills? … read more

I need help with excel function. Excel 2013. I have a math

i have a math problem and i have been posting in many sites … read more

When accessing Excel, I receive the following message:

When accessing Excel, I receive the following message: "Microsoft Office cannot verify the license for this product." I cannot get past this message. What do I need to do. … read more

I cannot use save as in Excel. It sends a message of Excel

Hi, I cannot use save as in Excel. It sends a message of Excel is not responding and then I have to restart the program. … read more

I am looking for some excel help, excel 2016, to get an

to get an excel function that will filter results from a data set based on specific criteria and then populate the filtered data set on a different worksheet. Ideally, I want to have 4 separate data sets on a separate worksheet that meet specific criteria from a master list … read more

What are your rates? Excel 10, Can You write Excel 10

Can You write Excel 10 Program for calculating: A + B - C = D for a Table of numbers consisting 3 columns of 10 rows, each row having 10 different numbers, and compute each and every possible combination, 1000 combinations ? … read more

Have an excel formula issue, Excel 2016, need the fomula to

have an excel formula issue JA: What programs and versions are you using? Customer: Excel 2016 JA: What is your ideal outcome? How can we solve this for you? Customer: need the fomula to work JA: Anyt… read more

I want to install my excel, I accidently unistalled my excel

I accidently unistalled my excel and now I want to re-instal … read more

It's an excel question. Microsoft Excel Office 2016, I am

I am having trouble creating a formula and I am unsure how to go about it. The formula help within Excel is not understanding my question. … read more

Suddenly my Excel 2007 Excel will not reload off the

Suddenly my Excel 2007 Excel will not reload off the original installation disk. I tried to do that because Solver in Excel quit working and said it had to be reinstalled. Any idea what's wrong? … read more

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.