Solved

Excel Spreadsheet Dlookup

Posted on 2010-08-13
4
866 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

690 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