Unconfigured Ad Widget

Collapse

Need an Excel expert

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nick1236
    Veteran Member
    • Mar 2010
    • 3843

    Need an Excel expert

    I'm making a spread sheet for my work. I know how to multiply values in rows and display them in another row

    ex) PRODUCT(E3;G3) / 60

    I put that on column H and it displays my total run time in hours.

    My question is how can I make it standard for the ENTIRE "H" column to display like this for each row? Right now I'm copying and pasting the above in each row and changing the numbers to the correct row

    PRODUCT(E10;G10) / 60
    PRODUCT(E13;G13) / 60
    PRODUCT(E14;G14) / 60
    PRODUCT(E16;G16) / 60
    PRODUCT(E20;G20) / 60


    I have a bunch of rows to do and this is very time consuming. Can I input something that would make "H" display the correct value for every row?

    Thanks,
    -Nick
    sigpic

    Originally posted by dirtykoala
    dont have a gun, let crack head break your window and super man drop kick you
    Originally posted by compulsivegunbuyer
    I grab my zipper and ask if he wants to make a little extra cash
  • #2
    winnre
    Calguns Addict
    • Apr 2010
    • 9214

    Put the entry in the top H row you will use, then drag downward. Codes will increase with line numbers.

    Or to verify, put proper entry in top 2 or 3 lines, enough for there to be a pattern, then highlight all, and then drag the dot in lower right down to bottom cell needed and code pattern will copy too.
    "If Jesus had a gun he would be alive today"-Homer Simpson

    Comment

    • #3
      Nick1236
      Veteran Member
      • Mar 2010
      • 3843

      Could you give me an example of the starting code? When I click and drag down it copies the same code into all the rows, giving the same value as row 2 (my start row)
      sigpic

      Originally posted by dirtykoala
      dont have a gun, let crack head break your window and super man drop kick you
      Originally posted by compulsivegunbuyer
      I grab my zipper and ask if he wants to make a little extra cash

      Comment

      • #4
        Nick1236
        Veteran Member
        • Mar 2010
        • 3843

        nvm I got it to work.

        New question, I have spaces in between rows, how can I make it so that it does not display anything in rows with no data? Right now its showing 0 in all the rows with no data?
        sigpic

        Originally posted by dirtykoala
        dont have a gun, let crack head break your window and super man drop kick you
        Originally posted by compulsivegunbuyer
        I grab my zipper and ask if he wants to make a little extra cash

        Comment

        • #5
          winnre
          Calguns Addict
          • Apr 2010
          • 9214

          Just highlight the 0 and press delete, and the code goes away from that cell.
          "If Jesus had a gun he would be alive today"-Homer Simpson

          Comment

          • #6
            Nick1236
            Veteran Member
            • Mar 2010
            • 3843

            That works too. I guess I'm asking if there is a way to have it display a value in column H only if there is data inputed into columns E and G on a row. This list is going to be updated and moved around daily so sometimes row 3 will have data and sometimes not (this applies for all rows 1,2,3,4,5,6,7.... etc)
            sigpic

            Originally posted by dirtykoala
            dont have a gun, let crack head break your window and super man drop kick you
            Originally posted by compulsivegunbuyer
            I grab my zipper and ask if he wants to make a little extra cash

            Comment

            • #7
              winnre
              Calguns Addict
              • Apr 2010
              • 9214

              You can always do a line of code, an empty line, a line of code, an empty line, etc, and then the spacing will copy down as well as the code. I prefer to do the code first and then pretty up the pages later.
              "If Jesus had a gun he would be alive today"-Homer Simpson

              Comment

              • #8
                nubrun
                Senior Member
                • Jul 2012
                • 998

                Originally posted by Nick1236
                That works too. I guess I'm asking if there is a way to have it display a value in column H only if there is data inputed into columns E and G on a row. This list is going to be updated and moved around daily so sometimes row 3 will have data and sometimes not (this applies for all rows 1,2,3,4,5,6,7.... etc)
                Try searching for conditional formatting.

                Another way would be to use an if statement such as =if(h3="","", h3). I don't remember if "" counts as a blank, but I think so.

                Comment

                • #9
                  Nick1236
                  Veteran Member
                  • Mar 2010
                  • 3843

                  Ok. I thought maybe there was an "IF/THEN" command or something I could use.

                  If "E & G" = no input THEN display no value

                  If "E & G" = input THEN display calculated value

                  Something like that.
                  sigpic

                  Originally posted by dirtykoala
                  dont have a gun, let crack head break your window and super man drop kick you
                  Originally posted by compulsivegunbuyer
                  I grab my zipper and ask if he wants to make a little extra cash

                  Comment

                  • #10
                    Nick1236
                    Veteran Member
                    • Mar 2010
                    • 3843

                    Originally posted by nubrun
                    Try searching for conditional formatting.

                    Another way would be to use an if statement such as =if(h3="","", h3). I don't remember if "" counts as a blank, but I think so.
                    Yes exactly, something like this.
                    sigpic

                    Originally posted by dirtykoala
                    dont have a gun, let crack head break your window and super man drop kick you
                    Originally posted by compulsivegunbuyer
                    I grab my zipper and ask if he wants to make a little extra cash

                    Comment

                    • #11
                      rackem1899
                      Member
                      • Mar 2011
                      • 165

                      Originally posted by Nick1236
                      Ok. I thought maybe there was an "IF/THEN" command or something I could use.

                      If "E & G" = no input THEN display no value

                      If "E & G" = input THEN display calculated value

                      Something like that.
                      Yep, this is conditional formatting. Search for how to use it on your version of excel. You'll probably just want to make the font color the same as the cell color when = 0. and black when <.01 or something. Assuming you need the 0 to not show # on other codes.
                      For Sale:
                      Sig SP2022
                      http://www.calguns.net/calgunforum/s...d.php?t=872589

                      Comment

                      • #12
                        Nick1236
                        Veteran Member
                        • Mar 2010
                        • 3843

                        Ok i figured it out thanks!

                        I simply made it display text as WHITE if value = 0

                        This way the value is there but I can not see it. Can I drag the formatting down the entire row like the calculation?
                        sigpic

                        Originally posted by dirtykoala
                        dont have a gun, let crack head break your window and super man drop kick you
                        Originally posted by compulsivegunbuyer
                        I grab my zipper and ask if he wants to make a little extra cash

                        Comment

                        • #13
                          Nick1236
                          Veteran Member
                          • Mar 2010
                          • 3843

                          Got it working. Awesome.

                          Thank you for the help guys.
                          sigpic

                          Originally posted by dirtykoala
                          dont have a gun, let crack head break your window and super man drop kick you
                          Originally posted by compulsivegunbuyer
                          I grab my zipper and ask if he wants to make a little extra cash

                          Comment

                          Working...
                          UA-8071174-1