+ Reply to Thread
Results 1 to 22 of 22

Adjustable formulas

  1. #1
    Forum Contributor
    Join Date
    08-28-2012
    Location
    nz
    MS-Off Ver
    Excel 2010
    Posts
    125

    Red face Adjustable formulas

    Hi

    I would really like these formulas to be made adjustable so i can work out things within certain Rows

    Like between row 23 and 54
    Or
    Row 65 and 101


    Adjusted by me via spin button from Cells


    Top :Cell T10
    Bottom :Cell T16


    =COUNTIF(INDIRECT("BB23:BB"&$T$16),">0")

    =COUNTIF($BQ$23:$BQ$166,"1")

    =MAX($BL$23:$BL$166)


    Top formula has part i now found i need all : )

    If that's OK



    Cheers to all you kind talented people really helps out alot

    Mike

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Adjustable formulas

    Put the rows (values) in their own cell, and then reference them from within the indirect
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    08-28-2012
    Location
    nz
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Adjustable formulas

    Hi

    That i think is what i am asking someone to do, the top formula with 1 cell reference in it was done by someone on here.

    I don't know how to make the formulas


    Cheers

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Adjustable formulas

    Take a look at the attached and see if you can adjust the references to suite your needs? I used a different approach
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    08-28-2012
    Location
    nz
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Adjustable formulas

    Hi

    Thanks for effort and thinking outside the box


    But if possible what i would really like is as above


    1/ =COUNTIF(INDIRECT("BB23:BB"&$T$16),">0")


    2/ =COUNTIF($BQ$23:$BQ$166,"1")


    3/ =MAX($BL$23:$BL$166)



    First reference Cell = T10

    Second reference Cell = T16

    If that's cool with you

    Cheers

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Adjustable formulas

    You can do that with the sample I provided...

    =COUNTIF(OFFSET($H$1,$C$2-1,0,D2-C2+1,1),">=8")
    =COUNTIF(OFFSET($H$1,$C$2-1,0,D2-C2+1,1),8)
    =MAX(OFFSET($H$1,$C$2-1,0,D2-C2+1,1))

    If you change the values in C2:D2, then the formulas adjust accordingly

    If you really want to use indirect()...

    =MAX(INDIRECT("H"&$C$2&":H"&$D$2))
    =COUNTIF(INDIRECT("H"&$C$2&":H"&$D$2),">=8")
    =COUNTIF(INDIRECT("H"&$C$2&":H"&$D$2),8)

  7. #7
    Forum Contributor
    Join Date
    08-28-2012
    Location
    nz
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Adjustable formulas

    Hi

    Thanks for that

    We got there in the end

    Oh your File, A8 comes up #REF


    Cheers Mate

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Adjustable formulas

    I have no idea why you felt the need to give me a negative rep for my efforts here, nor do I undersatand the meaning of your comment...
    Pain in the *** Doesn't follow Basic request makes it hard for Requestee some i assume very novice, Just trying to help : ) cheers
    If you look at my thread-count (15 000+) and current rep (a few short of 3 000), I can assure you that I am no novice - plus, this forum does not promote novices to Moderator level.

    I added to my OFFSET formulas to show they worked in all of your questions...and then I ALSO gave you the INDIRECT() version that you requested, so I really dont see what your problem with my suggestions were?

    also...
    Oh your File, A8 comes up #REF
    That was your own formula I inserted there to see what the problem was.

    Anyway...
    Based on your last post it seems that yourquestion has been resolved, but you haven't marked your thread as SOLVED. Please use the thread tools towards the top of page to do so

    If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

  9. #9
    Forum Contributor
    Join Date
    08-28-2012
    Location
    nz
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Adjustable formulas

    Hi

    For a Start I did not put "Pain in the *** " and you indicating i have, is abusive and insulting and a blatant lie.

    The Rep request ask "Do i Approve" Or "Disapprove" well i do not Approve of your approach that is why i put "No" it was a "Pain" as in Pain Full experience, which i could have put on this page, but i did that discretely, so you may learn, remember not every one on here is a Wiz, we simply ask basic stuff to be helped with, Not this that or the other.

    I have no idea why you felt the need to give me a negative rep for my efforts here, nor do I undersatand the meaning of your comment...
    Pain in the *** Doesn't follow Basic request makes it hard for Requestee some i assume very novice, Just trying to help : ) cheers
    If you look at my thread-count (15 000+) and currect rep (a few short of 3 000), I can assure you that I am no novice - plus, this forum does not promote novices to Moderator level.

    Where do I say you are a novice ?

    I stand by “can not follow basic request” read comprehend, you may be trying to go to fast, help to many people ? but ultimately are you or are you causing undue correspondence and wasting time.


    “I added to my OFFSET formulas to show they worked in all of your questions...”

    This is the point, did I ask for some other OFFSET formula ? NO!

    You didn’t even test your posted WorkBookit before posting.
    Yes it is my Formula Copied Off here, but not for your Sheet ? omg!

    “and then I ALSO gave you the INDIRECT() version that you requested.”

    Finally ! from the very start.

    I am sure you are very clever, but clever enough to understand people really only want what they have asked help with, “Not this that or the Other”

    Quite basic really

    Q: What would love do now

    Love would be kind

    What is the kindest thing I can do for the Requstee

    “Ooh I know I will answer his/Her question”

    Directly without mucking around trying to show how clever i am.

    Another word i like to live by is Humble : )

    Thankyou for your assistance anyway


    Regards and Love Mike : )

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Adjustable formulas

    I am not going to get into argument with you over this, but this was what you posted in teh comments when you neg. repped me, it is on record for anyone with the necessary access to see, so it is hardly "abusive and insulting and a blatant lie".
    Pain in the *** Doesn't follow Basic request makes it hard for Requestee some i assume very novice, Just trying to help : ) cheers
    and the "novice" comment is in the bolded part of your comment. Just for future reference, all comments made when giving reps, are viewable

    Often, members ask for help in a particular direction, without being aware that other options are available to them. Most senior members point out those other options as part of a learning excersize, but if the initial direction is insisted on, they try and give that too - thats what I did.

    Thank you for your feedback, and I hope you enjoy your continued participation with the forum

  11. #11
    Forum Contributor
    Join Date
    08-28-2012
    Location
    nz
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Adjustable formulas

    I never in my life pushed " *** " in your Rep If i had i would say i did !

    Reps posted would be a great idea I welcome that idea.

    Then you might think about reversing the order of your request process and answer the question first without the requestee having to manage there patience, because it continually goes unanswered, often in a stressful moment of having to get something done in a hurry "If they can"

    Pain in the *** Doesn't follow Basic request makes it hard for Requestee some i assume very novice, Just trying to help : ) cheers

    All i can assume is you have trouble reading, which is OK

    But the Sentence says

    "Doesn't follow Basic request makes it hard for Requestee some i assume very novice"

    Do you not understand this sentence ?

    I'll leave it at that

    All the best

    Mike

  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: Adjustable formulas

    i suggest you remove ms office and send it back to Microsoft on the grounds to do not understand any thing suggested and you have no idea what it can /cannot do. then download open office which is poorly supported good luck! and btw negative rep me as much as you like
    FDibbins delete this if you feel it's inappropriate
    Last edited by martindwilson; 12-14-2013 at 09:18 PM.
    "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

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

    Re: Adjustable formulas

    ooh i've been told off

    Abusive and Threatening to Participants on this Forum Obviously has not read through this Thread, I have taken a Screen Shot of this Message

  14. #14
    Forum Contributor
    Join Date
    08-28-2012
    Location
    nz
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Adjustable formulas

    Who are you being at the moment ?

  15. #15
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Adjustable formulas

    OK you have now twice accused me of making false claims - see the attached for your - plus a few other's - comments. These are not something I, or anyone else can make up, so take a look at the file please and then repeat your claim.

    @ Martin, I feel your comments may be spot-on here, thanks
    Attached Files Attached Files
    Last edited by FDibbins; 12-16-2013 at 02:21 AM. Reason: Forgot to attach file

  16. #16
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Adjustable formulas

    Quote Originally Posted by FDibbins View Post
    all comments made when giving reps, are viewable
    I guess I better watch what I say, then!

    Is anything truly private in this forum? How about private messages? I suppose you guys can read those also?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  17. #17
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Adjustable formulas

    I know that as a mod, I cannot read other people's PM's, nor would i want to

  18. #18
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Adjustable formulas

    I have PM's disabled for the general membership but mods and admins can still PM me.

    OTOH, I've been known to call some folks idiots in the rep comments!

  19. #19
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Adjustable formulas

    Quote Originally Posted by keen2xl View Post
    The Rep request ask "Do i Approve" Or "Disapprove" well i do not Approve of your approach that is why i put "No" it was a "Pain" as in Pain Full experience, which i could have put on this page, but i did that discretely, so you may learn, remember not every one on here is a Wiz, we simply ask basic stuff to be helped with, Not this that or the other.
    As a disinterested observer I would like to make a couple of comments.

    First, keen2xl, negative rep is not taken lightly on this forum. It should not be given simply because a particular solution does not happen to suit you. Negative rep should be given only when a member is hampering progress more than helping it. That is clearly not the case here, and negative rep is not appropriate. All people offering help here are doing it out of a desire to help people and build a community, and doing it for free I might add. If a particular answer doesn't seem to quite fit what you want, simply move on and hope for a better one. If you really feel you must give feedback of that nature, a private message is better.

    Second, I interpret the reference "makes it hard for Requestee some i assume very novice" to mean "your offered help is difficult for other members to understand, some who I assume are novices." It was not intended to call FDibbins a novice. However, I have no comment on whether that statement is actually true.

    I see the thread is marked Solved. If the discourse does not return to the problem at hand then the thread will be closed.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  20. #20
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Adjustable formulas

    I think there is a slight confusion here.

    Keen2xl thinks that the rep system is to mark whether the solution has helped him or not and whether he approves of it or not. Well, its not the case, it is whether you approve of giving rep to the user or not. This is not similar to the option that some Q&A sites give you - Has this question been helpful? Yes / No.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  21. #21
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Adjustable formulas

    This is entirely possible arlu, and 6 may have read the comment in a better light than I did, too

  22. #22
    Forum Contributor
    Join Date
    08-28-2012
    Location
    nz
    MS-Off Ver
    Excel 2010
    Posts
    125

    Re: Adjustable formulas

    Hi Forum

    I am accepting I put 3 Astrix as in the Screen Shot supplied by FDibbins, accepting it as true and correct, for that I sincerely apologise to FDibbins.

    For the life of me I don't remember doing those 3 Astrix, but accepting I did, I can see how immediately they could be taken as offensive.
    All I can say is they would not have meant to have been, just a simple term people would be familiar with, that's all "Pain in the ***"

    But again I apologise.

    I appreciate the help all Admin supply on this site and all above comments have been acknowledged.


    Couple of points though if I may.

    6StringJazzer mentions:"Negative rep should be given only when a member is hampering progress more than helping it".

    I'm afraid at the time I felt, sorry to say FDibbins was hampering progress more than helping.


    1/ I made a fairly simple request, 3 formulas to link too 2 cells

    FDibbins Suggests I do it : It did not help with the answer to my simple question

    2/ I have to reply, "I don't how, that's why I’m skiing for help".

    FDibbins = Makes non applicable suggestion on a WB also with error in it : It was not the answer to my simple question neither did it help.

    3/ I have to reply, explain again, same first request in an even more basic layout, to a fairly simple question .


    These are Formulas to adjust

    =COUNTIF(INDIRECT("BB23:BB"&$T$16),">0")

    =COUNTIF($BQ$23:$BQ$166,"1")

    =MAX($BL$23:$BL$166)


    FDibbins: After pushing his suggestion again then says, but:

    If you really want to use indirect()... "


    (Like I’m an idiot if I do)

    =MAX(INDIRECT("H"&$C$2&":H"&$D$2))
    =COUNTIF(INDIRECT("H"&$C$2&":H"&$D$2),">=8")
    =COUNTIF(INDIRECT("H"&$C$2&":H"&$D$2),8)

    Above is "FDibbins" best attempt at helping me with the answer after 3 attemps.

    What I am trying to get across is, what if I was someone who is even less capable than I with formulas, the above formula answers, look as though they are written in Greek, a nightmare still to sort through.

    All I requested help with was an answer to (For a skilled practioner) my fairly simple question, like most other Admin helpers give.

    I hope this makes sense to you from this side of the fence and I hope this is taken as constructive input.

    Maybe mull it over for a while ?

    Regards to all you men.

    Especially, FDibbins

    Sincerely Mike
    Last edited by keen2xl; 12-16-2013 at 09:51 AM.

+ 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. SUBTOTAL with adjustable range
    By vfw210 in forum Excel General
    Replies: 17
    Last Post: 08-15-2021, 09:00 PM
  2. Self Adjustable Formulas using Rows Value
    By jespo1351 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-25-2013, 07:17 PM
  3. adjustable template?
    By exlex in forum Excel General
    Replies: 5
    Last Post: 04-16-2010, 08:37 AM
  4. Adjustable scales
    By Peter1999 in forum Excel General
    Replies: 2
    Last Post: 05-24-2007, 08:08 AM
  5. [SOLVED] Adjustable Rate APR
    By Xhawk57 in forum Excel General
    Replies: 4
    Last Post: 02-15-2006, 02:20 PM

Tags for this Thread

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