[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Excel Spreadsheet Dlookup

Posted on 2010-08-13
4
Medium Priority
?
953 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Microsoft's Excel has many features that most people will never need nor take advantage of.  Conditional formatting is one feature that you may find a necessity once you start using it.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

873 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