+ Reply to Thread
Results 1 to 10 of 10

Formu

  1. #1
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Formu

    Hi,

    I have
    Last edited by rexcel548562; 08-07-2022 at 08:36 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,024

    Re: Formula to find ≤ value (according To defined Condition)

    Will this do what you want?

    =IF(I7>0,-5,MAX(I7,-5))

    Sorry, this:

    =IF(I7>0,$F$8,MAX(I7,$F$8))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Formula to find ≤ value (according To defined Condition)

    Try:

    =IF(COUNTIF(J$6:J6,$F$8)>0,$F$8,IF(I7>$F$8,I7,$F$8))

    see file.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Re: For

    Hi AliGW,

    Yes t
    Last edited by rexcel548562; 08-07-2022 at 08:37 AM.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,024

    Re: Formula to find ≤ value (according To defined Condition)

    Garbage in, garbage out - could you please show us what you mean in a workbook? I didn't understand what you were trying to describe - sorry.

  6. #6
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Re: Formu

    Hi AliGW,

    I have v
    Last edited by rexcel548562; 08-07-2022 at 08:38 AM.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,024

    Re: Formula to find ≤ value (according To defined Condition)

    Try this:

    =LET(n,XLOOKUP($F$8,$I$7:$I$31,$I$7:$I$31,,-1),IF(I7>0,n,MAX(ROUND(I7,0),n)))
    Attached Files Attached Files

  8. #8
    Forum Contributor
    Join Date
    07-10-2022
    Location
    USA
    MS-Off Ver
    2021
    Posts
    190

    Re: Fop[

    Hi AliGW,p][]
    Last edited by rexcel548562; 08-07-2022 at 08:38 AM.

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,024

    Re: Formula to find ≤ value (according To defined Condition)

    That's great!

  10. #10
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2504
    Posts
    13,742

    Re: Formula to find ≤ value (according To defined Condition)

    I'm late to the party (again).

    Another way. For the non-365 crowd.

    =IF(I7>0,$F$8-1,IF(I7>$F$8,ROUNDUP(I7,0),$F$8-1))
    Dave

+ 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. VBA to find MOST match formula (defined formula)
    By aan.isnaini in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-11-2022, 12:40 PM
  2. VBA/Formula to find (#3 and #4 digit) MOST match key (defined key)
    By aan.isnaini in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-30-2021, 04:21 PM
  3. [SOLVED] Formula to return a result if the user inputs a value ≤ to a preset number?
    By Meta-xx in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-11-2020, 02:06 PM
  4. [SOLVED] IF Find Formula with Multiple Condition
    By arpanpanchal in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-30-2018, 08:18 PM
  5. How to use find or search formula mutiple condition?
    By Akatecho in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-04-2014, 09:26 AM
  6. Input „≤“ and „►“ signs with VBA
    By Kirill13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2013, 10:20 AM
  7. [SOLVED] Formula to find out MAX and MIN based on 3rd cell condition
    By helpbitte in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-12-2013, 05:31 AM

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