#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
Maybe like shown in the attached.
|
#3
|
|||
|
|||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Formula working wrong, I can't identify why. | rajeshn_in | Excel | 1 | 01-09-2017 03:59 AM |
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 |
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 |