Solved

iF STATEMENT FORMULA

Posted on 2014-09-09
7
124 Views
Last Modified: 2014-09-10
I love your new website look, congrats.  I am looking for an if formula for the table attached.  All I want is an if statement to subtract the previous month from the current month etc
the .
For example:

In beginning month of August  you will subtract
0 minus August number

In September formula will be

September number minus August

and so on...

Thanks and I will also take any advice or comments.
expertsexch.xlsx
0
Comment
Question by:Kdankwah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40313040
Can you attach/show an example that shows what the required output is? Excel document?
0
 

Author Comment

by:Kdankwah
ID: 40313069
The output will be like this.

Output:            
August      
      
MTD                   YTD
0                  2000
            
Sept       
      
MTD                    YTD
1000            3000
            
October      
      
MTD                   YTD
2000            5000
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40313189
1) Where are these totals to be displayed/inserted into this workbook?  On a separate sheet?  In the same sheet (Sheet1)?

2) Are these example totals derived from the example data?  If so, they do not correspond.

3) There are two years of data shown here (2014, 2015).  How do they relate to your requirement?

IMO, this will be more involved than an IF statement.

-Glenn
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 24

Accepted Solution

by:
Steve earned 250 total points
ID: 40313763
Is the attached something like what you would like?

If not, could you post the workbook with the first few numbers pre-filled based on expected results.

Ta
Steve.
U--expertsexch.xlsx
0
 
LVL 33

Assisted Solution

by:Rob Henson
Rob Henson earned 250 total points
ID: 40314317
The suggestion below won't work for the sample data posted because it doesn't start at zero.

Assuming MTD in column A and YTD in column B and no other numerical values in column A, the value for the current MTD would be the YTD less sum of previous MTD values. So lets assume, your October values are in row 15, the following will give the MTD for October:

=B15-SUM($A$1:A14)   {note the $ in $A$1}

Copy this down each time you need a new MTD value for the given YTD.

Thanks
Rob H
0
 
LVL 33

Expert Comment

by:Rob Henson
ID: 40314331
OK, now looked at attached file. My suggestion was based on data looking like the sample above, I now realise that was how the output was expected. How does the data in the attached file relate to the sample given above?

Thanks
Rob H
0
 

Author Comment

by:Kdankwah
ID: 40314476
I thank both Steve and Rob for your wonderful answers.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Name Selection and Sorting 43 91
Compare Excel spreadsheet - 1 3 38
what program/tool is used to create charts like this? 4 31
Desktop in File-open on Excel 7 32
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question