DGET fxn with nested TODAY fxn error

NewGuy44

New Member
Joined
Jul 14, 2018
Messages
2
Hello everyone.

I have a specific goal I am trying to achieve and I'm hoping you can help me.

My Goal: I am using a basic loan amortization schedule spreadsheet to tract a loan. I want to add a dynamic cell that displays the current balance of the loan based on the current month.

My incorrect solution: I have recently discovered the DGET function and am able to achieve my goal if I simply type "=A3" into cell E2 . However, once I add the TODAY fxn to make it dynamic, it gives an #VALUE error.

If there is a simpler way to achieve the correct result, please let me know.

Amort ScheduleDateBalance
Date
BalanceTODAY FxnDGET Fxn
Jul-185000
Aug-184900
Sep-184800
Oct-184700
Nov-184600

<tbody>
</tbody>

Any help would be appreciated.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
This?


Excel 2010
ABCDEF
1Amort ScheduleDateBalance
2DateBalance7/14/20185000
3Jul-185000
4Aug-184900
5Sep-184800
6Oct-184700
7Nov-184600
Sheet4
Cell Formulas
RangeFormula
E2=TODAY()
F2=VLOOKUP(E2,$A$3:$B$7,2,1)


(dates are 1st of month)
 
Upvote 0
This?

Excel 2010
ABCDEF
1Amort ScheduleDateBalance
2DateBalance7/14/20185000
3Jul-185000
4Aug-184900
5Sep-184800
6Oct-184700
7Nov-184600

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet4

Worksheet Formulas
CellFormula
E2=TODAY()
F2=VLOOKUP(E2,$A$3:$B$7,2,1)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



(dates are 1st of month)

Unfortunately, this gives me a #REF . Also, I just realized that the dates in A3:A7 are nested IF functions that give the date as the output using "DAY(fpdate)". Not sure if that changes things.

Thank you for the help so far!
 
Upvote 0
Amort ScheduleDateBalance
DateBalance7/1/20185000
7/1/20185000
8/1/20184900
9/1/20184800
10/1/20184700
11/1/20184600

<tbody>
</tbody>

If you insist on using DGET, in E2 enter:

=EOMONTH(TODAY(),-1)+1

not just:

=TODAY()

In F2 enter:

=DGET($A$2:$B$7,"balance",$E$1:$E$2)

You can also invoke a fast VLOOKUP instead of DGET. This allows using just

=TODAY()

in E2.

F2 becomes:

=VLOOKUP(E2,$A$3:$B$7,2,1)
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,812
Members
449,048
Latest member
greyangel23

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