Closed Thread
Results 1 to 7 of 7

Variable number or rows

  1. #1
    Registered User
    Join Date
    11-09-2008
    Location
    US
    Posts
    3

    Variable number or rows

    Hi there,

    I really need some expert help

    Please Login or Register  to view this content.
    If anyone is able to help let me know and I will PM the link of the sheet - dont know if you can post links on this forum.

    Right, in cells above A16 there is this code =A16-$I$11 and above that it would be =A15-$I$11 and above that =A14-$I$11 and that works fine.

    A16's forumla is =(I6-((I9)*I5))/((I7*I8)-((I9))) and that works perfectly.

    But, anything below A16 should be =A16+$I$11 then A17=A16+$I$11.

    But whenever I enter in that formula it changes everything below A16 TO =X-Y, when it shouls be positive and it skips a few cells for example in A18 it states =A19-$I$11 when it should be =A17+$I$11 and countinue that pattern all the way downwards.


    Thank you,
    bamboozled.
    Last edited by VBA Noob; 11-09-2008 at 03:11 PM. Reason: Added code tags as per forum rules

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Welcome to Excel forum!, you can attach a workbook here for folk to see what you are doing, when makin a post before submitting it scroll sown to manage attachments click it and attach your workbook then submit!
    Not all forums are the same - seek and you shall find

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    bamboozled,

    Welcome to the forum. Please take a few minutes to read the forum rules below.

    I've done the following for you

    1). Removed the urgent in title
    2). Added code tags

    Can you please do the last thing yourself and add the link to the other excel forum where VoG has giving you this code

    Many thanks

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Registered User
    Join Date
    11-09-2008
    Location
    US
    Posts
    3
    PS That does sound link i made that /\ I didnt, the legend called VoG made it for me. THough I felt I was nagging him so I made another thread for it (asked him like 30 times for diffrent codes - seriously). I genuienly apologise for my mistake. Mr excel.com is where he was helping me but I felt really really guilty for asking so many Q's- because believe me I did. I even PM'd vog a couple times and not once did he complain.

    SORRY VBA NOOB and everyone else I am just soooo stressed right now trying to sort this out while revise for 3 exams on the same day!

    Erm yeah VoG even told me how to upload it. This link is here:

    http://www.box.net/shared/gsbqjmqud0

    Sorry again,
    Thank you.

    /\ sorry about all the SP mistakes, no time to correct them lol
    Last edited by bamboozled; 11-09-2008 at 03:37 PM.

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Not looking for a sorry just for you to follow the rules (again...see link below) and add the link to the other forum otherwise post will be closed

    VBA Noob

  6. #6
    Registered User
    Join Date
    11-09-2008
    Location
    US
    Posts
    3
    Last edited by VBA Noob; 11-09-2008 at 04:43 PM.

  7. #7
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Why delete the link and replace with solve it.

    Care to mark as solve and post you're solution for others

    VBA Noob

Closed Thread

Thread Information

Users Browsing this Thread

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

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