Anyone good with Excel?

Collapse

Recommended Videos

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Beantown
    #DoYourJob
    • Feb 2005
    • 31523

    #1

    Anyone good with Excel?

    I'm currently working on a spreadsheet for my Computer Science Lab, and I've been stuck on a few formulas for quite a while. Our book, for the class, does not help us and even Excel's formula for dummies-esque set-up I can not seem to figure out what the hell I'm supposed to do, despite how easy it seems like it should be.

    What I'm trying to do right now is:

    If the Code (column 'H' in my spreadsheet) is "G" then return the current Volume (column 'G' in my spreadhseet). Else, convert the Volume (again, column 'G') from liters to gallons - using the L_PER_GAL cell already created.

    I have no idea if this makes sense, and if it doesn't that just proves how completely confused I am by what should be a damn simple function to make.

    Anyone have any suggestions or tips or helpful advice? I don't think I've ever asked for help on any of my work on here...but I really just can't figure this out at the moment.
  • LetsGoBucs
    Let's Go Nuggets!
    • Feb 2003
    • 1289

    #2
    Re: Anyone good with Excel?

    Originally posted by Longhorn
    I'm currently working on a spreadsheet for my Computer Science Lab, and I've been stuck on a few formulas for quite a while. Our book, for the class, does not help us and even Excel's formula for dummies-esque set-up I can not seem to figure out what the hell I'm supposed to do, despite how easy it seems like it should be.

    What I'm trying to do right now is:

    If the Code (column 'H' in my spreadsheet) is "G" then return the current Volume (column 'G' in my spreadhseet). Else, convert the Volume (again, column 'G') from liters to gallons - using the L_PER_GAL cell already created.

    I have no idea if this makes sense, and if it doesn't that just proves how completely confused I am by what should be a damn simple function to make.

    Anyone have any suggestions or tips or helpful advice? I don't think I've ever asked for help on any of my work on here...but I really just can't figure this out at the moment.

    Just use the 'IF' formula. For example:

    IF(H1="G", H, L_PER_GAL(H1)) --> IF(Logical Test, Value if TRUE, Value if FALSE)

    That should get it done... I think...
    MLB: Pittsburgh Pirates, Colorado Rockies
    NFL: Pittsburgh Steelers
    NHL: Pittsburgh Penguins
    NBA: Denver Nuggets, Orlando Magic
    NCAA: Penn State Nittany Lions, Boston College Eagles

    Comment

    • Beantown
      #DoYourJob
      • Feb 2005
      • 31523

      #3
      Re: Anyone good with Excel?

      Originally posted by LetsGoBucs
      Just use the 'IF' formula. For example:

      IF(H1="G", H, L_PER_GAL(H1)) --> IF(Logical Test, Value if TRUE, Value if FALSE)

      That should get it done... I think...
      That worked, I just had to change the 'Value if FALSE' part to the cell divided by L_PER_GAL because I'm dumb and forgot which way I wanted to convert.

      Thanks man.

      Comment

      Working...