Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default Comparin data in cells

Hi,
I have data in 4 cells ie cell a1, a2, a3 & a4.
I would be keying in either 3 or 1 as input data in each cell.
If all cells are keyed in as 3 then in cell a5 i want the answer to be
100%, if one of the cell contains 1 and rest of the cells contain 3
then i want the answer to be 75%, if 2 cells contain 1 and 2 cells
contain 3 I want the answer to be 50%, if 3 cells contain 3 and 1 cell
contain 1 then the answer would be 25% and if all cells contain 1 then
the answer should be 0%.
Can any one help me in putting a formula to get the above result.
Thanks in advance!!!

- Srikanth HN
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 117
Default Comparin data in cells

Format Cell A5 as a percentage and then enter =COUNTIF(A1:A4,"3")/4

" wrote:

Hi,
I have data in 4 cells ie cell a1, a2, a3 & a4.
I would be keying in either 3 or 1 as input data in each cell.
If all cells are keyed in as 3 then in cell a5 i want the answer to be
100%, if one of the cell contains 1 and rest of the cells contain 3
then i want the answer to be 75%, if 2 cells contain 1 and 2 cells
contain 3 I want the answer to be 50%, if 3 cells contain 3 and 1 cell
contain 1 then the answer would be 25% and if all cells contain 1 then
the answer should be 0%.
Can any one help me in putting a formula to get the above result.
Thanks in advance!!!

- Srikanth HN

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Returning data of multiple cells for lookup of mulltiple cells HELP on data reference formulas Excel Discussion (Misc queries) 1 October 29th 08 08:27 PM
Consecutive cells pulling data from non-consective cells seed Excel Discussion (Misc queries) 2 March 6th 08 01:07 PM
how to find cells that refer to data in other cells in excel Aman Excel Discussion (Misc queries) 8 December 2nd 07 10:02 PM
transfer data into row cells from column cells in Excel Bernard Modlinsky Excel Discussion (Misc queries) 3 August 12th 06 08:07 PM
trying to create an (almost) circular formula between cells and data validated cells with lists KR Excel Worksheet Functions 0 May 12th 05 07:21 PM


All times are GMT +1. The time now is 09:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"