Results 1 to 8 of 8

IF Function optimisation

Threaded View

  1. #1
    Registered User
    Join Date
    02-08-2022
    Location
    Japan
    MS-Off Ver
    Office 365 proplus
    Posts
    20

    IF Function optimisation

    Dear all,

    the attached sheet is currently working well, but for a self improvement, I would like to have some recommendations on how to improve it/make it shorter, and thus have new inspirations for further works.

    Sheet explanation :
    B2:B4 looks up A2:A4 corresponding to F:F
    Puts "," every thousands
    links G and H to be "price 1 - price 2"
    adds JPY mark if B6 rate is 1.
    divides, rounds up and adds USD or EUR mark corresponding on the B6 rates.

    The current formula is :
    Formula: copy to clipboard
    =CONCATENATE(IFS(B$6<=1,TEXT(ROUND(XLOOKUP(A2,F:F,G:G)/B$6,0),"###,###")&"¥ - ",
    AND(B$6>=100,B$6<=120),TEXT(ROUND(XLOOKUP(A2,F:F,G:G)/B$6,0),"###,###")&"$ - ",
    AND(B$6>=121,B$6<=150),TEXT(ROUND(XLOOKUP(A2,F:F,G:G)/B$6,0),"###,###")&"€ - "),
    IFS(B$6<=1,TEXT(ROUND(XLOOKUP(A2,F:F,H:H)/B$6,0),"###,###")&"¥",
    AND(B$6>=100,B$6<=120),TEXT(ROUND(XLOOKUP(A2,F:F,H:H)/B$6,0),"###,###")&"$",
    AND(B$6>=121,B$6<=150),TEXT(ROUND(XLOOKUP(A2,F:F,H:H)/B$6,0),"###,###")&"€"))


    I am all open to suggestions.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to solve such an optimisation problem?
    By andre199017 in forum Excel General
    Replies: 10
    Last Post: 01-19-2017, 01:37 PM
  2. optimisation
    By rtedesco in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-03-2016, 08:42 PM
  3. Workbook optimisation
    By tuph in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-05-2015, 04:31 PM
  4. Array slicing optimisation
    By Kyle123 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-01-2012, 10:43 AM
  5. Optimisation of code
    By munkee in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-17-2009, 10:26 AM
  6. optimisation tool for objective function macro
    By wjm in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-09-2006, 06:02 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