Google Answers Logo
View Question
 
Q: Excel Puzzle Part II ( No Answer,   0 Comments )
Question  
Subject: Excel Puzzle Part II
Category: Computers > Algorithms
Asked by: burnt_toast-ga
List Price: $4.50
Posted: 09 Aug 2004 20:14 PDT
Expires: 10 Aug 2004 01:03 PDT
Question ID: 385691
This is what Sheet1 of my Excel Workbook looks like:

   A         B         C     D     E	     F
1  POSITION  HIRING                BENEFITS  WAGE
2  Cashier   Open                  Yes       100
3  Cashier   Open                  No        1000
4  Cashier   Closed                Yes       100
5  Cashier   Closed                No        1000
6  Manager   Open                  Yes       200
7  Manager   Open                  No        2000
8  Manager   Open                  Yes       200
9  Manager   Closed                No        2000


This is what Sheet2 of my Excel WOrkbook looks like:

   A         B                             C
1  POSITION  HIRING OPEN AND BENEFITS YES  TOTAL WAGE
2  Cashier   1                             100
3  Manager   2                             400


What is the formula necessary to calculate cells C2 and C3 on Sheet2?
I do not want to have to rearrange my rows or columns or alter my
sheets in any way, other than entering formulas in cells C2 and C3 of
Sheet2.


Hint:
Cell B2 on Sheet2 is calculated by putting
=SUM(IF(Sheet1!A2:A9=a2,1,0)*IF(Sheet1!B2:B9="Open",1,0)*IF(Sheet1!E2:E9="Yes",1,0))
then INSTEAD of pressing enter press CTRL+SHIFT+ENTER.
Cell B3 on Sheet2 is calculated by putting
=SUM(IF(Sheet1!A2:A9=a3,1,0)*IF(Sheet1!B2:B9="Open",1,0)*IF(Sheet1!E2:E9="Yes",1,0))
and again, INSTEAD of pressing enter press CTRL+SHIFT+ENTER.
If you do it correct and press ctrl+shift+enter, you will see
{=SUM(IF(Sheet1!A2:A9=a3,1,0)*IF(Sheet1!B2:B9="Open",1,0)*IF(Sheet1!E2:E9="Yes",1,0))}
in the formula bar. If you do it wrong, then it will show the wrong value.

[Many thanks to furrycushion-ga to coming up with the solution to the
initial puzzle at http://answers.google.com/answers/threadview?id=385307]
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy