Do I have to create each month

pulary

New Member
Joined
May 17, 2013
Messages
23
Hi all,

I am trying to make an interactive dashboard where the end user can select the year, month, entity name, and project or a combination of all these, that will display a data table and graph accordingly. The problem I am having is the data is not done by month, but rather I am given a total revenue and a length of time (duration). What I am trying to figure out is do I have to create data for each month. My guess is that I will need to break down by month, which is fine, but I am hopeful there is an easier way to do it versus a manual process.

Thanks!
Financial Analyst Excel Test.xlsx
ABCDE
1EntityProject NameEstimated StartEstimated RevenueDuration (months)
2BCRSolar 17/1/22$28,500,00025
3BCRSolar 26/1/22$3,600,0004
4BESolar 36/1/22$4,200,0005
5BCRSolar 47/1/22$40,000,00024
6BCRSolar 68/1/22$20,000,00012
7BCRSolar 71/1/23$21,000,00023
8BCRSolar 88/1/22$42,000,00024
9BESolar 911/1/22$11,200,0008
10BCRSolar 106/1/22$4,000,00013
11BCRSolar 115/1/22$11,000,00012
12BESolar 127/1/22$11,000,0005
13BESolar 136/1/22$2,200,0005
14BESolar 148/1/22$95,000,00012
15BESolar 156/1/22$110,000,0008
16BESolar 168/1/22$15,000,0006
17IMESolar 177/1/22$330,000,00016
18BESolar 188/1/22$23,000,0003
19IMESolar 198/1/22$62,000,0006
20IMESolar 202/1/23$1,121,000,00036
21IMESolar 218/1/22$90,000,00015
22BESolar 228/1/22$32,000,00012
23BESolar 2311/1/22$30,000,00012
24BESolar 2411/1/22$30,000,00012
Original Inputs
 
Run-Time error 13 is a data mismatch.
"MyDate1" is declared to be a date:
VBA Code:
Dim MyDate1 As Date

If the value that is trying to be returned by this line:
VBA Code:
MyDate1=Sheets("Original").Cells(Row1,3)
is not a date (i.e. if it is text), it will return that error.

So make sure that the value is actually a date (and not a text string).
 
Upvote 0
Solution

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Run-Time error 13 is a data mismatch.
"MyDate1" is declared to be a date:
VBA Code:
Dim MyDate1 As Date

If the value that is trying to be returned by this line:
VBA Code:
MyDate1=Sheets("Original").Cells(Row1,3)
is not a date (i.e. if it is text), it will return that error.

So make sure that the value is actually a date (and not a text string).
Thank you so much for the help. When you said data mismatch, I was quickly able to find the issue.

Works perfectly now.

Phillip
 
Upvote 0
You are welcome.
Glad I was able to help.
 
Upvote 0

Forum statistics

Threads
1,216,118
Messages
6,128,939
Members
449,480
Latest member
yesitisasport

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