Adding cells based on different criteria
Hi,
I have a spreadsheet were I have to count or add a number of cells based on certain conditions.
For example, I have on I14:I16 a list were I can choose "Yes, No, or N/A" on either cell.
When either option is selected, J14:J16 auto populates with "8%, 0%,
or blank" ("") from the following formula I pasted =IF(I14=$R$3,8.33%,IF(I14=$R$4,0%, IF(I14=$R$5,"")))
On Cell J17 I have entered the following formula =IF(SUM(J14:J16)>=0,SUM(J14:J16),25%)
were I'm basically asking to sum J14:J16 if and only if there is a present value greater or equal to 0 and if there isn't a value (Null) I then want the end result to be "25%" Below is an example of my spredsheet
Result
Score
Yes
8%
No
0%
N/A
8%
As you can see the formula does recognize there are values present; therefore, it adds the values, but when "N/A" is seleted in all three cells it gives me 0% instead of 25%.
Example below.
Result
Score
N/A
N/A
N/A
0%
Can someone please help with my formula.
Is there another formula I can use?
Thanks
Anwsers to the Problem Adding cells based on different criteria
You could use
=IF(COUNTIF(I14:I16,$R$5)<3,SUM(J14:J16),25%)
I.e.
if not all three cells I14:I16 contain N/A, return the sum of J14:J16, otherwise 25%.
- Go to the Start button.
- In the Search box, type "cmd" (without quotes) and press Enter.
- At the command prompt, type "chkdsk /r /f" (without quotes) and press Enter.
- Restart your computer.
Recommended Method to Repair the Problem: Adding cells based on different criteria:
How to Fix Adding cells based on different criteria with SmartPCFixer?
1. Download SmartPCFixer. Install it on your computer.
2. After the scan is done, you can see the errors and problems which need to be fixed.
3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.
Related: How to Fix - 64g ssd with a 500g regular drive?,Allow Unhide Rows in Protected Workbook [Solved],[Solved] Get in Excel 2007 data from Access 2007 out of self-built Queries,[Solution] How can I temporarily disable 'service manager' to install Adobe flashplayer?,[Anwsered] When I try to watch a flash video, I am told occasionally that I don't have Adobe Flash.,Solution to Error: Black screen during boot sequence,[Solved] Can't restore Windows 7 64-bit from external hard drive,How to Fix - IE 11 Enhance Protect Mode reset issue with add-on's?,Solution to Error: Internet Explorer 9 update/install error - Error Code 80092004,Upgrading to IE 8 causes cookies to get deleted when starting IE [Anwsered],Solution to Problem: All programs try to start from windows component
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,How to Fix Error - Getting an error "not connected to the internet" while trying to install Samsung Kies?
,How to Fix - Internet Explorer shuts down and reopens tab when attaching to email or uploading files.?
,Fast Solution to Problem: Sending Error Message
,[Anwsered] Thinkpad 8611 Boot,How to Resolve - Svchost Helper?,Fast Solution to Problem: L30 101 Driver Windows 7,Troubleshooter of Error: Io Device,How to Fix Error - Dell Laptop Code 39?
Read More: Troubleshooting:After I didn't plug my battery in in time I lost one file which I was just working on and it's not in recycle bin and it doesn't come up when I try to search for it Error,Troubleshooting:Adding controls to Word documents,Troubleshoot:adding numbers contained in different cells Error,Troubleshooter of Error: adobe flash player 11 beta for ie9 64 bit any problems?,How to Fix - After clean installing Windows 7 from Vista, i am unable to connect to the internet.?,a file called mDNSResponse.exe. is causing bonjour not to operate properly,what should I do?,A QUESTION USING THE "IF'S" Formula.,A continuos flashing window with which title is C:Windows\System32\cmd.exe, and has the following message: The syntax of the command is incorrect.,Acrobat compatibility issue and you tube problems____,ActiveX on IE 9 not loaded
No comments:
Post a Comment