Solved

Excel Spreadsheet Dlookup

Posted on 2010-08-13
4
794 Views
Last Modified: 2012-05-10
I am looking for someone to help me complete this spreadsheet that i am working on.

There are 2 tabs in this spreadsheet Results and Scores

I will manually type mine and my friends scores into the scores tab every time we play. What i would like to happen then is excel does a count of how many bogeys (1 over the par) Par's or Birdies (1 under the par) that we have each got and record it in the Results view.

I have tried a Dlookup and i am not sure if this is even possible, please look at the spreadsheet to get a better idea.

Thanks for your help. golf.xls
0
Comment
Question by:CaptainGiblets
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:answer_dude
ID: 33430649
DCOUNT allows you to apply complex criteria to a data set.  In your case you want to apply criteria to a calculation of a dataset... (scores - par), so you need to create that data set first.

See attached.  I've updated your Scores sheet to have one line per player and I've updated the results sheet to be completely formula driven.
golf.xls
0
 
LVL 6

Author Comment

by:CaptainGiblets
ID: 33430722
thanks for that. Is there any way to automatically hide the fields in the results page that are calculating blank cells? or will i just have to unhide 2 extra columns each time that we play enter new results.
0
 
LVL 10

Accepted Solution

by:
answer_dude earned 500 total points
ID: 33430921
I've done it by using an IF statement... there's probably another way with conditional formatting -- but this works.

Just don't forget to copy additional rows on the results sheet when you get to the bottom.  You can just copy the last row down as you enter new games beyond row 30.
golf.xls
0
 
LVL 6

Author Closing Comment

by:CaptainGiblets
ID: 33430937
thanks a lot for your help works great.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

821 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