+ Reply to Thread
Results 1 to 7 of 7

pass the range number in formula

  1. #1
    Registered User
    Join Date
    10-03-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    19

    Question pass the range number in formula

    Hi, Appreciate your help and THANK YOU in advance

    I can write this one and specify static range:
    =MAX(J36:J38)

    What if i need pass the cell range as numbers from other two cells , where the range is variable in my case.

    for example

    A2=220
    B2= 670

    I want to write the formula where it shows:
    =max(J220:j670)

    A2 & B2 are calculated automatically form other formulas

    Any idea ?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,411

    Re: pass the range number in formula

    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Note: A2 and B2 must both contain non-blank, non-zero, non-negative numeric values.
    Last edited by TMS; 10-03-2020 at 04:22 AM.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-03-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    19

    Re: pass the range number in formula

    PERFECT ,,, YOU ARE THE MAN

    Thanks a BILLION

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,411

    Re: pass the range number in formula

    You're welcome.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,871

    Re: pass the range number in formula

    crossposted: https://www.mrexcel.com/board/thread...cells.1147398/

    Rule 03: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  6. #6
    Registered User
    Join Date
    10-03-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    19

    Re: pass the range number in formula

    Pardon ,, I didnt mean it and will not be repeated ,, thanks for the note

  7. #7
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Taiwan
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,397

    Re: pass the range number in formula

    Formula

    HTML Code: 

+ 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] Formula that looks in range and returns Pass if all cells contain Ps
    By Jamidd1 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-19-2017, 08:44 AM
  2. Replies: 4
    Last Post: 05-28-2015, 09:13 AM
  3. Replies: 4
    Last Post: 04-12-2015, 02:47 AM
  4. Move to next decimal in range and pass row number
    By beenbee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-20-2014, 07:17 AM
  5. Use if statement for a range +4 and -4 and write PASS / NOT PASS
    By alexistkd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-05-2013, 07:11 PM
  6. How concate the string with number in Excel to pass in Range
    By dhurva in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2010, 11:17 AM
  7. Replies: 4
    Last Post: 10-20-2009, 10:00 AM

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