1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

excel 2010 question

Discussion in 'BBS Hangout' started by finalsbound, Nov 21, 2013.

  1. finalsbound

    finalsbound Contributing Member

    Joined:
    Aug 31, 2000
    Messages:
    12,328
    Likes Received:
    901
    Quick excel question...this is driving me nuts, because it seems like it should be simple.

    I'm trying to insert a header into my spreadsheet. I want the header to read W&P I, Inc. when I click out of the header, it shows W1 I, Inc. and then when you click inside the header again it shows W&[Page] I, Inc. So obviously it's changing the "P" to the page number, how do I turn that off? I've looked throughout the autocorrect feature but haven't been able to find out where I can stop it from auto changing it.

    thanks!
     
  2. finalsbound

    finalsbound Contributing Member

    Joined:
    Aug 31, 2000
    Messages:
    12,328
    Likes Received:
    901
    nevermind! found out you just have to use double ampersands to get around the autocorrect. W&&P I, Inc.

    disregard plz! :cool:
     
  3. cheke64

    cheke64 Member

    Joined:
    May 12, 2009
    Messages:
    23,809
    Likes Received:
    15,159
  4. SwoLy-D

    SwoLy-D Contributing Member

    Joined:
    Jul 20, 2001
    Messages:
    37,617
    Likes Received:
    1,448
    ^^^^ You want to see her W and her P? :eek:

    I can post pics of my P. :eek:

    [/end free post]
     
  5. ths balla

    ths balla Member

    Joined:
    Oct 20, 2003
    Messages:
    1,475
    Likes Received:
    194
    Really need some help on this.....

    I am trying to divide a number in one cell, among a range of cells, but each cell is weighted differently. For example 16 divided by 4 cells, where the first 2 cells are worth 30% of 16, and the other 2 cells are worth 20% of 16. When added together I need the whole amounts, not decimals, not to exceed 16.

    ...Thanks in advance for any help its greatly needed
     
  6. dragician

    dragician Member

    Joined:
    Feb 27, 2011
    Messages:
    3,990
    Likes Received:
    131
    or do concatenace("","","")
     
  7. pugsly8422

    pugsly8422 Contributing Member

    Joined:
    Mar 19, 2002
    Messages:
    3,265
    Likes Received:
    349
    Not sure if I completely understand what you're trying to do. You want to multiply a number (16) by percentages? If 16 is in cell A1, and assuming your percentages are in A2, A3, A4 and A5. In B2 you could enter "=$A$1*A2", and then drag that down to B5. The amounts returned should total 16. Is that what you're trying to do?
     
  8. ths balla

    ths balla Member

    Joined:
    Oct 20, 2003
    Messages:
    1,475
    Likes Received:
    194
    No not exactly.... I have an inventory number(could be 16/14/8), and I want to divide that number among 4 cells(B1/C1/D1/E1), but not evenly. So each cell is weighted a different amount from the total, B1 is weighted as 30%, C1 is 30%, D1 is 25%, and E1 is 15%.

    Now I could easily go into each cell and multiply their weights by the inventory number(30%*16), but I also want whole numbers. So the problem is, when I add all the cells together, sometimes they either add up to more/less than the inventory number.
     
  9. ths balla

    ths balla Member

    Joined:
    Oct 20, 2003
    Messages:
    1,475
    Likes Received:
    194
    Example.....

    A1 B1(30%) C1(30%) D1(25%) E1(5%)
    (16) 4.8-->(5) 4.8-->(5) (4) 2.4-->(2)


    ....So the numbers are rounded to whole numbers but when added together they do not exceed 16
     
  10. JuanValdez

    JuanValdez Contributing Member

    Joined:
    Feb 14, 1999
    Messages:
    34,218
    Likes Received:
    13,669
    Can you make one cell (like E2) always be the loser when you exceed the total?

    So, you due a B2=ROUND(A1*B1,0), same for C2 thru D2. Then in E2 you say =A1-SUM(B2:D2). That way even it would sometimes round down a number you'd ordinarily round up, but the total would be preserved.
     
    1 person likes this.
  11. Toast

    Toast Member

    Joined:
    Feb 21, 2001
    Messages:
    3,755
    Likes Received:
    10
    =A1*0.3
    =A1*0.3
    =A1*0.25
    =A1*0.05

    Then round to the nearest integer, right?
     
  12. ths balla

    ths balla Member

    Joined:
    Oct 20, 2003
    Messages:
    1,475
    Likes Received:
    194
    Actually that works great!! Thank you for your help with that, really really appreciate it.

    Also, is there anyway I can have it choose randomly from which one to take from as well, instead of me choosing?
     
  13. JuanValdez

    JuanValdez Contributing Member

    Joined:
    Feb 14, 1999
    Messages:
    34,218
    Likes Received:
    13,669
    What a weird typo....

    Randomness is possible but not advisable. you can put a RAND() command in and then an if/then statement in each cell linking to that RAND() command to dictate which answer to give, the rounding or the squeeze. The first problem is the needless complexity. The second problem is that it will change which bin gets the squeeze each time you refresh calcs -- which may or may not be a bad thing, I suppose. Depends on how important randomness is. If you can live without it, I would.
     

Share This Page

  • About ClutchFans

    Since 1996, ClutchFans has been loud and proud covering the Houston Rockets, helping set an industry standard for team fan sites. The forums have been a home for Houston sports fans as well as basketball fanatics around the globe.

  • Support ClutchFans!

    If you find that ClutchFans is a valuable resource for you, please consider becoming a Supporting Member. Supporting Members can upload photos and attachments directly to their posts, customize their user title and more. Gold Supporters see zero ads!


    Upgrade Now