Solved

Excel Spreadsheet Dlookup

Posted on 2010-08-13
4
833 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
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.

726 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