Friday, September 21, 2012

yogi_Create A LeaderBoard Showing Names Of Students And Their Total Scores From Multiple Tests In Descending Order

Yogi Anand, D.Eng, P.E.      Google Spreadsheet   Post  #770  Sep 21, 2012    www.energyefficientbuild.com

user leedsu said: (http://productforums.google.com/forum/?zx=vay6zqqzi38u#!category-topic/docs/spreadsheets/_YYNqLU2Cy4)
Sort, filter and add using unique values in Google spreadheet
Hi there,

new to Google spreadsheets, so any help would be a great help. I have 2 columns - column A: student names who have submitted a test score and column B: the score for test submission. I want to create a leaderboard based on the scores so I would like to:
  1. search for unique names in the first column (and exclude any blank rows)
  2. add the total scores for each unique name
  3. sort by descending order of total scores
Thanks!
----
.... sure thing. to give it context
  1. I have students submitting multiple online tests via google forms. 
  2. I import the scores from multiple spreadsheets into one google spreadsheet. 
  3. The rows in the example spreadsheet show the format (name, score, & and grade) using sample data from 3 separate dummy tests.
  4. The number of students who submit each test may vary.
What I would like to do is to create a leaderboard of student scores based on the total of their individual submitted scores. So, I need to:
  1. Find the unique names from column A and add their accumulated score from each row where their name occurs. This is the sum of all their different test submissions (they will only enter each test once)
  2. Display each unique name and accumulated score arranged by descending order  

---------------------------------------------------------------------------------
following is a solution to the problem

yogi_Make Column D YES Row By Row If Columns A B And C Are ALL YES

Yogi Anand, D.Eng, P.E.      Google Spreadsheet   Post  #769  Sep 20, 2012    www.energyefficientbuild.com

user Dilip Chauhan said: (https://productforums.google.com/forum/#!category-topic/docs/spreadsheets/kmxxHVMPImE)
i want column a b and c if all yes so column d yes
i want column a b and c if all yes so column d yes 
---------------------------------------------------------------------------------
following is a solution to the problem

Thursday, September 20, 2012

yogi_Compute Number Of Invited Guests Who Have Accepted Invite By Inviting Party

Yogi Anand, D.Eng, P.E.      Google Spreadsheet   Post  #768  Sep 20, 2012    www.energyefficientbuild.com

user Ethereal87 said: (http://productforums.google.com/forum/?zx=y7jq6icx61c4#!mydiscussions/docs/zK7amRbbUHM)
Wedding Spreadsheet - Calculate total attending guests per family
So here's a question I'm having.  I have a spreadsheet keeping track of every guest we're inviting.  For every name, there are five relevant columns here.
Column A - Bride's Mom/Stepfather's Guests
Column B - Bride's Dad/Stepmother's Guests
Column C - My mom's guests
Column D - Our friends/Wedding party
Column E - # of people who accept the invitation in that family

I want to keep track of each family's guests, so how many they're inviting and how many accept in each group.  I'm trying to write a formula that will sum up the values in Column E, but only if they have a corresponding number in Column A-D (so for her Mom's guests, sum up the number of guests who accept in column E but only if they have a value in column A).

Some of the solutions I've found will do it per line (check if a value exists then sum), but I'm looking to condense it all into one total number.  SUMIF seems to be the right way to go, but I'm not familiar with the syntax of it and I'm having trouble getting it right.

Please let me know if I can expand in any way.  Thank you!
----
https://docs.google.com/spreadsheet/ccc?key=0An4axc1NbXvEdHhYR2J6ZmZ4NE95bUw5dC1ZdTNuMGc

There's some sample data with the link.  Hopefully that should work :)
---------------------------------------------------------------------------------------
following is a solution to the problem


yogi_Plan And Prioritize Trips based On Calcs As The Crow Flies

Yogi Anand, D.Eng, P.E.      Google Spreadsheet   Post  #767  Sep 20, 2012    www.energyefficientbuild.com

user aapilot said: (http://productforums.google.com/forum/?zx=y7jq6icx61c4#!category-topic/docs/spreadsheets/PhP40bfvdgI
Distance "As the crow flies" calculated in a spreadsheet
I am a pilot.  I'm looking to automatically calculate the distance between points in a spreadsheet.  I know there has to be a way to do this, I'm just not sure how to start.

Here's what I would like to see.

Location 1:  A1=Kansas City, MO
Location 2:  B2=Denver, CO
Distance:  C2=558 miles or 485 nautical miles

Please help!
----
Alright so I figured this out.  Check out Cell J2 for the formula to calculate distance "as the crow flies" from Lat/Long.


SO now I have another problem. I feel like I should be able to figure this out, but for some reason I'm stumped.  
Displayed on my Spreadsheet I have calculated out the closest cities to my present location.  I would like to be able to only display those that have ">0" plans(E5-E10).  Basically I would like to be able to put limiting criteria in C2-E2 and then sort them by closest 6 cities. Anyone help with this?  Thanks.
---------------------------------------------------------------------------------------------------------
the following solution applies to the second part of the user aapilot's question


yogi_Count Number Of Items By Specified Range Of Values In A Column

Yogi Anand, D.Eng, P.E.      Google Spreadsheet   Post  #766  Sep 20, 2012    www.energyefficientbuild.com

user martinekc said: (http://productforums.google.com/forum/?zx=y7jq6icx61c4#!category-topic/docs/spreadsheets/XINzhRWWSr8)
How do I count a range? 
I am trying to count the number of cells in a range of values.  For example, I have a long list of numbers.  I want to count how many of them are between 0 and 9, then how many are between 10 and 19, and so on.  How do I do this?  The only thing I have been able to do up to this point is to use the "Countif" function for each individual value and then find the sum of those.  There must be an easier way.  (I am using a Mac OS X with Firefox browser.)

Thank you.
-----------------------------------------------------------------------------------
following is a solution to the problem

yogi_Count And Average Values For Multiple Criteria From Data In Another Sheet

Yogi Anand, D.Eng, P.E.       Google Spreadsheet    Post  #765   Sep 20, 2012     www.energyefficientbuild.com

user chrisB_ofk said: (http://productforums.google.com/forum/?zx=y7jq6icx61c4#!category-topic/docs/spreadsheets/nN1NcXBbx2c)
Countif with multiple criteria and indirect references
I'm trying to set up a formula to count the number of responses meet two different criteria from another sheet in a workbook.  I can't use countifs and I've tried all kinds of combinations of sumproducts, sum if, and what not.
Here are the two formulae:
=countif(indirect($A$2&"!B:B"),A5) <-- This works just fine and returns the appropriate number of responses where the rows meet the variable in A5.
=countif(indirect($A$2&"!H:H"),"<.7") <-- This also works just fine where the rows have a number less than .7

I can't get the two to play together nicely. I'd like to count responses where both criteria are met.
Please help.
------------------------------------------------------------------------------------
following is a solution to the problem ... I did not have to make any INDIRECT function call

Wednesday, September 19, 2012

yogi_Insert Value in Column B As ANew Line After Every Value In Corresponding Row In Column A Row By Row

Yogi Anand, D.Eng, P.E.       Google Spreadsheet    Post  #764   Sep 19, 2012     www.energyefficientbuild.com


user jazzybeat said: (http://productforums.google.com/forum/?zx=y7jq6icx61c4#!category-topic/docs/spreadsheets/GFTOof7UNuA)
If cell is empty hide LineBrake CHAR(13)
Hello, 
I'm trying to get values from columns A,B,C into on sigle cell and seperate values with line brakes. My problem is that I can't understund how to insert IF statment, inside CONCATENATE with CHAR(13).

Bellow is the link of the document. Perhaps some one can help me with this.
Thanks

https://docs.google.com/spreadsheet/ccc?key=0AiUyMzdcMevLdDlWYjVOVl80b0E2dUI3QW1NcmdfcWc
----

I have one more question let say I want to insert after each non empty value aditional value with a line brake, how would I do this? you can see this on Sheet2.
Thanks

-------------------------------------------------------------------
following is a solution to a bit more generalized problem