Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-23-2014, 08:10 AM
AbbeyMetal AbbeyMetal is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Novice
'grabbing' a sum from a separate table
 
Join Date: Jul 2014
Posts: 8
AbbeyMetal is on a distinguished road
Default 'grabbing' a sum from a separate table

Im new to excel and i am wanting to have two different tables. one with my bank balances and the total for each day and in the other i have my bills. im wanting to see how much i have available on each day without having to go back and forth between tables. i can manually plug in a formula that grabs the number specific to the day im on but i want it to be autonomous. every day i check my bank accounts to see how much i have available and i enter the values daily. i want excel to read 'if theres a bill with a date the same as the statement, then display the bank balance in this row, else 0.' any ideas on making this work? Thanks
Reply With Quote
  #2  
Old 07-23-2014, 08:33 AM
gebobs gebobs is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Let me see if I understand...

One table for balances. For simplicity's sake, just one account for now, with consecutive dates (say for August 2014 for now) and the balance for each date.

Second table is for bills: payee, due date, amount.

For each bill on this table, you want to display the balance for the date that equals the due date. Is that right?
Reply With Quote
  #3  
Old 07-23-2014, 09:40 AM
AbbeyMetal AbbeyMetal is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Novice
'grabbing' a sum from a separate table
 
Join Date: Jul 2014
Posts: 8
AbbeyMetal is on a distinguished road
Default

yes that is what i think im trying to say. i just want the bank amount to be displayed to have a side by side comparison on how well im keeping on track with my bills as to the bank says.`
Reply With Quote
  #4  
Old 07-23-2014, 10:12 AM
gebobs gebobs is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

See if this is along the lines and we can go from there. I gave you some nice balances. ;-)
Attached Files
File Type: xlsx BalanceBill.xlsx (10.5 KB, 9 views)
Reply With Quote
  #5  
Old 07-23-2014, 10:36 AM
AbbeyMetal AbbeyMetal is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Novice
'grabbing' a sum from a separate table
 
Join Date: Jul 2014
Posts: 8
AbbeyMetal is on a distinguished road
Default

would that work if i have many bills on the same day? meaning i have 10+ bills on the 1st of the month.
Reply With Quote
  #6  
Old 07-23-2014, 10:42 AM
gebobs gebobs is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

It will post the same balance for each.
Reply With Quote
  #7  
Old 07-23-2014, 10:50 AM
AbbeyMetal AbbeyMetal is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Novice
'grabbing' a sum from a separate table
 
Join Date: Jul 2014
Posts: 8
AbbeyMetal is on a distinguished road
Default

what does it mean when you have the A#:B#? i cant figure out how to refine the reference to that particular day. everything im trying isnt working.
Reply With Quote
  #8  
Old 07-23-2014, 10:56 AM
AbbeyMetal AbbeyMetal is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Novice
'grabbing' a sum from a separate table
 
Join Date: Jul 2014
Posts: 8
AbbeyMetal is on a distinguished road
Default

well i think i got it working but when i ctrlD the function it works for the first few, up until the A# gets out of range of 8/1..is there a way to copy a formula all the way down to read just the sum?
Reply With Quote
  #9  
Old 07-23-2014, 11:03 AM
AbbeyMetal AbbeyMetal is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Novice
'grabbing' a sum from a separate table
 
Join Date: Jul 2014
Posts: 8
AbbeyMetal is on a distinguished road
Default

this is what i am talking about..if it helps
Attached Files
File Type: xlsx BalanceBill (1).xlsx (10.7 KB, 8 views)
Reply With Quote
  #10  
Old 07-23-2014, 11:42 AM
gebobs gebobs is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Good grief, my bad. Simple error. We need to use absolute references for the lookup table.
The current equation in D2...

=VLOOKUP(B2,Balances!A2:B21,2,FALSE)

Excel automatically increments references so the lookup table then is A3:B22 for the equation
in the next row, A4:B23 after that, etc. Making the reference absolute, the equation becomes...

=VLOOKUP(B2,Balances!$A$2:$B$21,2,FALSE)

What this does is tell Excel to not increment either the row or column reference. Since we are
copying down, all we really care about is the row reference so we could just put the $ in front
of that part: A$2:B$21. Or, more simply...

=VLOOKUP(B2,Balances!A:B,2,FALSE)

This makes the entire columns A and B the lookup reference and thus leaves room for you to
add rows nearly indefinitely (over one million rows in Excel 2010).

Also, we can add error trapping (use this equation)...

=IFERROR(VLOOKUP(B2,Balances!A:B,2,FALSE),"")

In summary, what this says is:

* If there's any error in the equation (e.g. if there's not balance date found that matches the bill date),
then just leave a blank space, "".
* Otherwise, take the bill date.
* Look for it in the Balances table.
* When you find it, get the balance in the 2nd column.
* It must be an exact match (the FALSE specifies this).
Reply With Quote
  #11  
Old 07-23-2014, 11:49 AM
AbbeyMetal AbbeyMetal is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Novice
'grabbing' a sum from a separate table
 
Join Date: Jul 2014
Posts: 8
AbbeyMetal is on a distinguished road
Default

and if theres no data for the blank would i still be able to take the sum of the column? because i know in access it can be a little touchy on that type of thing.
Reply With Quote
  #12  
Old 07-23-2014, 11:57 AM
AbbeyMetal AbbeyMetal is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Novice
'grabbing' a sum from a separate table
 
Join Date: Jul 2014
Posts: 8
AbbeyMetal is on a distinguished road
Default

I got it to work!! thank you so much for your help!!you were fantastic!! 2 thumbs way up
Reply With Quote
  #13  
Old 07-23-2014, 12:47 PM
gebobs gebobs is offline 'grabbing' a sum from a separate table Windows 7 64bit 'grabbing' a sum from a separate table Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Grassy ass!!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Important" Folder grabbing all incoming Mail Jonart Outlook 0 06-09-2014 01:50 PM
Why does Word separate table and reference endnotes by allowing text to go in between newby2013 Word Tables 2 12-31-2012 03:45 PM
'grabbing' a sum from a separate table Columns - separate management alvin Word 1 09-18-2012 09:02 AM
'grabbing' a sum from a separate table Can I use the filter function to separate letters into separate files? drhauser Mail Merge 2 12-14-2011 02:18 PM
Any easy way to separate a Word document into separate files? SamHelm Word 0 08-21-2010 05:29 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft