Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-24-2017, 11:09 AM
Father Father is offline Am I using the wrong formula? Windows 7 32bit Am I using the wrong formula? Office 2013
Novice
Am I using the wrong formula?
 
Join Date: Nov 2016
Posts: 29
Father is on a distinguished road
Default Am I using the wrong formula?


I"m trying to make a table that calculated partial pressure.

In the attachment go to the Partial Pressure tab.
The first table calculates based on the atmospheres you put in.

What I want is to be able to put the depth in the A8 of the second table and have it do the same calculations of the first table.
I'm not sure if a SUMIFS function is the appropriate way to approach this... probably not since it's not working.

I tried doing this
=SUMIFS(A8,"<=32",B8*1,"<=65",B8*2,"<=98",B8*3)
but it won't work.
I'm not sure if it's a conflict in the use of the "less than or equal to" statements, since if something is less than or equal to 98, then everything below it would also fall within that range.

I wasn't sure how to set a range like
SUMIFS(A8,"0-32",B8*1,"33-65",B8*2,"66-98",B8*3)
where if the number in A8 is a number between 0 and 32, then multiply B8 x 1.

I tried this
=IF(AND(A8>0,A8<34),B8*1) OR(AND(A8>33,A8<66),B8*2)

I'm almost definitely notusing the proper syntax to make these work if I'm even on the right track.
Attached Files
File Type: xlsx MOD Tables.xlsx (21.4 KB, 7 views)
Reply With Quote
  #2  
Old 05-24-2017, 11:33 AM
xor xor is offline Am I using the wrong formula? Windows 10 Am I using the wrong formula? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Maybe like shown in the attached.
Attached Files
File Type: xlsx MOD Tables_2.xlsx (27.3 KB, 8 views)
Reply With Quote
  #3  
Old 05-24-2017, 12:27 PM
Father Father is offline Am I using the wrong formula? Windows 7 32bit Am I using the wrong formula? Office 2013
Novice
Am I using the wrong formula?
 
Join Date: Nov 2016
Posts: 29
Father is on a distinguished road
Default

Quote:
Originally Posted by xor View Post
Maybe like shown in the attached.
Suh-weet.

I wasn't even close...
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Am I using the wrong formula? Formula working wrong, I can't identify why. rajeshn_in Excel 1 01-09-2017 03:59 AM
Am I using the wrong formula? Possible to use an existing vlookup formula to also insert correct info and trigger a SUM formula innkeeper9 Excel 2 09-13-2016 08:59 PM
Need help with dragging a formula and changing a reference column as I drag the formula. LupeB Excel 1 10-22-2015 03:02 PM
Am I using the wrong formula? Formula returns wrong value bobsone1 Excel 2 08-19-2014 12:12 AM
IF formula returns wrong result mashley Excel 3 09-07-2012 07:03 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:36 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft