+ Reply to Thread
Results 1 to 17 of 17

PC vs MAC dynamic range not working

  1. #1
    Registered User
    Join Date
    02-07-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    11

    PC vs MAC dynamic range not working

    I will thank them in once this is properly done and I can post photos, but currently I've had a LOT of help making this dice rolling program, but it won't work on a mac.
    This is the file. What won't work? I cannot change the "Weapon" in cell B5 on the first sheet.
    https://www.dropbox.com/s/92gt887nic...0TACTICAL.xlsx
    https://www.dropbox.com/s/avnei2k1mq...ER%20EASY.xlsx
    These dice rolling programs are very similar, yet the same problem occurs. B5 cannot be changed on a MAC. Someone please help me understand why, or enable cell B5 to work.
    I have a PC and I'm using my brothers laptop MAC with excel 2011 on both computers.
    Will post more info if needed. Thank you


    Here's the boys in action 3 weeks ago. They had to get from one side of the board to the other without being caught.
    https://www.dropbox.com/s/44am1rhl0l...11649786_o.jpg
    Me with the laptop!https://www.dropbox.com/s/xz3fwqun8j...28358334_o.jpg
    And last week was a lot of bush whacking through the jungles past old Vietnam like statues. https://www.dropbox.com/s/0d4yfbusk2...10620153_o.jpg
    They crossed paths with some VC, but gave them the slip and continued on towards their mission.
    https://www.dropbox.com/s/sv37v7xc3g...23917912_o.jpg

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: PC vs MAC dynamic range not working

    cant see why
    but try this instead of the offset for the dynamic range
    ='Weapon Info'!$E$63:INDEX('Weapon Info'!$E:$E,COUNTIF(USweps,"?*")+62)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    02-07-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: PC vs MAC dynamic range not working

    well i replaced cell B5 with the info but it didn't seem to work, now i just have a lot of #VALUE! errors. Wish I was better with this.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: PC vs MAC dynamic range not working

    where did you replace it? did you open name manager and replace the named formula called DyWepList,
    =OFFSET('Weapon Info'!$E$63,0,0,MATCH("*",'Weapon Info'!$E$63:$E$96,-1),1)
    with ='Weapon Info'!$E$63:INDEX('Weapon Info'!$E:$E,COUNTIF(USweps,"?*")+62) ?
    here it is done
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-07-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: PC vs MAC dynamic range not working

    I cry a sigh of relief. THANK YOU SO MUCH!

    I'm really a noob with this, and I spent all my time making the scenery for the game. But now finally, I don't have to roll 30+ dice for a few VC with AK-47s. Thanks again.

    whoops, hang on, still not working. argh.

  6. #6
    Registered User
    Join Date
    02-07-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: PC vs MAC dynamic range not working

    Pistol, Submachine gun work, however when selecting Machine Gun or Rifle, my weapon selection becomes "DyWepList". But honestly, it's half way there already.

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: PC vs MAC dynamic range not working

    you havent got knife in the lists so that breaks also grenade throw and grenade launchers are missing

  8. #8
    Registered User
    Join Date
    02-07-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: PC vs MAC dynamic range not working

    Yeah I'm not worried about them so much for now. Probably because they won't be used much.

    But the rifles and machine guns are standard so its a bit weird why they won't work.

    Once I could get the rifles and MG working I'd put in some grenade/knife stuff, but for now, a lot more guns will be fired than knives thrown.

  9. #9
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: PC vs MAC dynamic range not working

    ok i'm back from bed
    i cant see that in myworkbook il leave this on
    but you should be careful when using dependant dropdowns if the list is empty then the drop down cant be selected
    so its a goodish practice to put say choose or pick or blank as the first entry,lets you know the dropdown is working fine
    ive done it in this example and adjusted the formula in weapon info e64 and filled it down and added ...choose.. to the top
    so now when you pick "knife throwing" the only option youl see for weapon is ....choose.....
    see attached
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    02-07-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: PC vs MAC dynamic range not working

    ooooh, very nice. I like that.

    I shall write up some knives and grenade launchers. The main reason why grenades and launchers aren't in it is because their damage is a certain circle size that I place on the table. I'll write some up though now, just gotta write up someones new character sheet first.

  11. #11
    Registered User
    Join Date
    02-07-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: PC vs MAC dynamic range not working

    https://www.dropbox.com/s/2ns1j3eduq...evised%29.xlsx

    It's almost there! Just now the list doesn't work properly with the new weapons I added. Large Blade, Small Blade, Standard Grenade and Grenade Launcher. I didn't make this whole spreadsheet (just entered all the weapon info, I'm a noob) so I don't really know how to fix the few things that are off. I believe since Knife Throwing, Grenade and Grenade Launcher are all new weapon types, they aren't being noticed. But I could be wrong.

  12. #12
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: PC vs MAC dynamic range not working

    ok you must have inserted about 7 rows so your formula that relied on row(a1) changed to row(a8) to avoid that you need to change where it says row(a1) to to rows($a$1:A1)
    i've done it for you the two formulas were

    =IFERROR(INDEX(DyReg,SMALL(IF(Rolls!$B$4=DyType,ROW(DyType)-MIN(ROW(DyType))+1,""),ROW(A1))),"")
    now
    =IFERROR(INDEX(DyReg,SMALL(IF(Rolls!$B$4=DyType,ROW(DyType)-MIN(ROW(DyType))+1,""),ROWS($A$1:A1))),"")
    and
    =IFERROR(INDEX(totwep,SMALL(IF(Rolls!$B$3=reg,ROW(reg)-MIN(ROW(reg))+1,""),ROW(A1))),"")
    now
    =IFERROR(INDEX(totwep,SMALL(IF(Rolls!$B$3=reg,ROW(reg)-MIN(ROW(reg))+1,""),ROWS($A$1:A1))),"")
    that should avoid any future problems
    good luck
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    02-07-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: PC vs MAC dynamic range not working

    Thank you very much. Now I'm just back to the original problem, being that only the Pistol, Sub machine gun and Knife throwing categories are working right now. Stumped. But now, I feel we're edging towards success.

  14. #14
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: PC vs MAC dynamic range not working

    i can see everything working for all weapons us or vc with the exception of grenades/launchers which as you say you haven't done yet.

  15. #15
    Registered User
    Join Date
    02-07-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: PC vs MAC dynamic range not working

    Okay will have a look at all this in the morning on the laptop. Might have made it worse as it seems the 5% chance has made it so only dice numbers 5 or below are a hit, when in some cases the number needed for a "HIT" can be much higher. I didn't notice this at first, argh one step forward, two steps back lol.

  16. #16
    Registered User
    Join Date
    02-07-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: PC vs MAC dynamic range not working

    Okay so I went through all my files, and basically forgot to update excel....silly me.

    After the first update the excel sheet works fine.

    Only slight problem now is that the 5% chance has buggered up the chance to hit tables.

    =IF(E2="","",IF(E2<=(1+(B13="Yes")*4),"Hit","Miss")) is the formula. It was supposed to work in times where the chance to hit was very low.

    Basically the game is setup so you have a "weapon skill" which is a number from 1-100. You simply roll under that number to hit the target, minus of course the modifiers for range and posture.

    However sometimes the number needed to hit was in the negatives, which wouldn't work. The game has a 5% chance so no matter how low the number needed to hit, there is always a 5% chance to hit, or they are "firing blind" and have only a 1% chance to hit.

    Basically meaning any dice roll of 5 or lower is a hit, unless I have selected "Firing blind" in which case only a 1 will be considered a hit.
    This works fine, however it's made it so only a 5 or lower or a 1 or lower is a hit. all other numbers are considered to be "miss" which isn't correct.

    Anyway my original problem is solved, so thank you!

  17. #17
    Registered User
    Join Date
    02-07-2014
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: PC vs MAC dynamic range not working


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Dynamic name range not working correctly
    By Nitefox in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 10
    Last Post: 12-14-2013, 09:09 PM
  2. [SOLVED] Sort dynamic range alphabetically - cant get it working
    By Taktiker in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-08-2013, 11:35 AM
  3. [SOLVED] Indirect Validation after using SUBSTITUTE on a Dynamic Name Range NOT WORKING
    By Jason Eric in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-03-2013, 04:26 AM
  4. How do I know if Dynamic Range is working?
    By livemusic in forum Excel General
    Replies: 9
    Last Post: 07-02-2011, 11:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1