Started By
Message

Excel Help Please

Posted on 7/31/14 at 11:26 am
Posted by finchmeister08
Member since Mar 2011
35974 posts
Posted on 7/31/14 at 11:26 am
Hey guys,

I already have a division formula set up for "Total Cost" and "Total Tons" in the "Cost/Ton ($)". What i want it to do next is if the "Checked?" cells are "Yes", i want the "Cost/Ton ($)" cell to divide by two.



this is what i have for cell L3

Posted by GEAUXT
Member since Nov 2007
29342 posts
Posted on 7/31/14 at 11:28 am to
i would help, but it's not something i excel at
Posted by link
Member since Feb 2009
19867 posts
Posted on 7/31/14 at 11:29 am to
=IF(M3="YES",L3/2,"NO")
Posted by Pectus
Internet
Member since Apr 2010
67302 posts
Posted on 7/31/14 at 11:29 am to
nvm

link's got it
This post was edited on 7/31/14 at 11:30 am
Posted by Big Data
Scotch Fan
Member since Nov 2007
2553 posts
Posted on 7/31/14 at 11:29 am to
=if(M2="Yes",sum(L2/2),L2)
Posted by Leonard Threenette
Member since Jul 2014
874 posts
Posted on 7/31/14 at 11:30 am to
NVM
This post was edited on 7/31/14 at 11:31 am
Posted by ell_13
Member since Apr 2013
85336 posts
Posted on 7/31/14 at 11:31 am to
You can do an if statement inside of an if

=IF(M3="Yes", (J3/K3)/2, IF(K3=0,0,J3/K3))


ETA: It looks like the previous answers are referring to L column, which won't work since the cell is referencing itself.

ETA2: Or I just didn't understand where you wanted this answer put...
This post was edited on 7/31/14 at 11:34 am
Posted by Vegas Eddie
The Quad
Member since Dec 2013
5982 posts
Posted on 7/31/14 at 11:31 am to
Got an excel power user in the building
Posted by Quidam65
Q Continuum
Member since Jun 2010
19327 posts
Posted on 7/31/14 at 11:31 am to
Link has it right, but if the "Checked" cells are "No", what do you want the formula to do then? You have to have at least two conditions considered when using =IF.
This post was edited on 7/31/14 at 11:32 am
Posted by drewnbrla
The Pool is closed.
Member since Mar 2011
7839 posts
Posted on 7/31/14 at 11:43 am to
=IF(M3="No",(J3/K3),((J3/K3)/2))

ETA: What is your IF formula for M3? If the test function based off of results of L3?
This post was edited on 7/31/14 at 11:49 am
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram