+ Reply to Thread
Results 1 to 8 of 8

discount formula

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    discount formula

    I have these starting a1 downwards

    !!! ON SALE !!!
    KOTEX LONGER 8 3 IN 1
    WAS : 3000
    THEN : 2200
    NOW : 1500
    SAVE 50%
    EXPIRE 23-12-2020

    I want formula on A6 , to compute the 50% automatically , since it is mixed with text i am
    not able to handle that

    File attached too
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,739

    Re: discount formula

    try
    ="SAVE : "&TEXT((RIGHT(A5,LEN(A5)-FIND(":",A5,1))*1/RIGHT(A3,LEN(A3)-FIND(":",A3,1))*1)*1,"0.0%")
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  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 2403
    Posts
    44,036

    Re: discount formula

    How can the formula be in A6, when the string, from which you wish to extract the percentage, is located in A6??!

    So... in any OTHER cell:

    =-LOOKUP(1,-RIGHT(TRIM(LEFT(A6,FIND("%",A6)-1)),{1,2,3,4,5,6,7,8,9}))/100

    format as %
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: discount formula

    Please try

    ="SAVE "&TEXT(PRODUCT(INDEX(MID(A3:A5,FIND(":",A3:A5)+1,9)^{-1;0;1},)),"0%")

    or

    =PRODUCT(INDEX(MID(A3:A5,FIND(":",A3:A5)+1,9)^{-1;0;1},))

    and custom format "SAVE" 0%
    Attached Files Attached Files

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: discount formula

    Assuming it always be "WAS divided by (/) NOW":

    Please Login or Register  to view this content.
    Enter only.
    Last edited by bebo021999; 11-22-2020 at 10:24 PM.
    Quang PT

  6. #6
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: discount formula

    bebo formula will work if teh compute is as follows ,

    7500 WAS
    4350 NOW
    3150 DISCOUNT
    42%

    I am doing each label manually by dividing through calculator 3150 divide by 7500

    when i change the 1500 to 1000 on bebo formula it reads me 33% instead of 67%
    2000 divide 3000

  7. #7
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: discount formula

    Here is what i do at each label look at sheet2 , complete manual process

    8 labels 8 times compute
    Attached Files Attached Files

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: discount formula

    Try this and
    =1-PRODUCT(INDEX(MID(A3:A5,FIND(":",A3:A5)+1,9)^{-1;0;1},))

    and custom format "SAVE" 0%

    copy to other cells
    Attached Files Attached Files

+ 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. discount formula
    By cbeard in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-18-2019, 11:28 AM
  2. Discount Formula
    By WSheehey in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-06-2017, 03:08 PM
  3. Percentage discount formula for a grid of figures and a different discount figure
    By SkydiveAnnie in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-31-2013, 11:09 AM
  4. [SOLVED] Discount Formula?
    By wonderd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-17-2013, 07:41 PM
  5. 15% discount formula
    By shelleysgifts in forum Excel General
    Replies: 3
    Last Post: 10-03-2007, 06:21 PM
  6. Replies: 1
    Last Post: 12-02-2005, 12:06 PM
  7. [SOLVED] formula discount
    By need formula as soon as posible in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 06-10-2005, 08:05 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