+ Reply to Thread
Results 1 to 11 of 11

Formula for increasing the price of certain products

  1. #1
    Registered User
    Join Date
    01-24-2015
    Location
    US
    MS-Off Ver
    2010
    Posts
    4

    Formula for increasing the price of certain products

    Untitled.png
    So I need to increase the price of the products containing the same 3 numbers, separated by a single number, and ending with another combination of 3 numbers by 30%. So basically, anything with xxx.y.zzz (for example, 0123.555.3.666) I have to increase its price. I could use the if function but there are too many possible combinations to cram into a single formula, so now I'm pretty lost. Do you guys know if there's like a symbol that represents a number like in windows search you could use "*" for a symbol or something like that?
    btw it's in another country's currency, so it's not million dollars we're talking about
    Last edited by rabbycrabby; 01-25-2015 at 03:05 PM.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,911

    Re: Formula for increasing the price of certain products

    Pls attach sample file
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,911

    Re: Formula for increasing the price of certain products

    If your data starts from A1
    =MAX(1,IFERROR((SEARCH(".???.?.???","."&A1)>0)*(MOD(RIGHT(A1,3)/111,1)=0)*(MOD(LEFT(RIGHT(A1,9),3)/111,1)=0)*130%,100%))
    TRY THIS

  4. #4
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Formula for increasing the price of certain products

    Okay, try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards,
    Vikas Gautam
    Excel-buzz.blogspot.com

    Excel is not a matter of Experience, its a matter of Application.

    Say Thanks, Click * Add Reputation

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,911

    Re: Formula for increasing the price of certain products

    Quote Originally Posted by Vikas_Gautam View Post
    Okay, try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Hi Vikas,
    The op is asked that he need to increase the price of the products containing the same 3 numbers, separated by a single number, and ending with another combination of 3 numbers

    "So I need to increase the price of the products containing the same 3 numbers, separated by a single number, and ending with another combination of 3 numbers by 30%. So basically, anything with xxx.y.zzz (for example, 0123.555.3.666) I have to increase its price. I could use the if function but there are too many possible combinations to cram into a single formula, so now I'm pretty lost. Do you guys know if there's like a symbol that represents a number like in windows search you could use "*" for a symbol or something like that?
    btw it's in another country's currency, so it's not million dollars we're talking about"

  6. #6
    Registered User
    Join Date
    01-24-2015
    Location
    US
    MS-Off Ver
    2010
    Posts
    4

    Re: Formula for increasing the price of certain products

    sample.xlsx
    so this is a sample file.

    @Vikas_Gautam yea that didn't work, 1 question tho, does "?" stand for a certain number/word? 'cause if so, then wouldn't "???.?.???" be any combination of number (lie 123.4.567)?

    @nflsales that didn't work either

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula for increasing the price of certain products

    In your example, the prices that should increase are ____, because ____?
    Entia non sunt multiplicanda sine necessitate

  8. #8
    Registered User
    Join Date
    01-24-2015
    Location
    US
    MS-Off Ver
    2010
    Posts
    4

    Re: Formula for increasing the price of certain products

    the price for 0129.333.5.666 in cell A26 would have to be increased from 2,200,000 to 2,860,000 'cause it's got xxx.y.zzz in it

  9. #9
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,911

    Re: Formula for increasing the price of certain products

    Quote Originally Posted by rabbycrabby View Post
    Attachment 372661
    so this is a sample file.

    @Vikas_Gautam yea that didn't work, 1 question tho, does "?" stand for a certain number/word? 'cause if so, then wouldn't "???.?.???" be any combination of number (lie 123.4.567)?

    @nflsales that didn't work either
    i did not find any such combinations in your attach file, please modify your excel file with some more examples and also give your expected results for the same manually.

  10. #10
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Formula for increasing the price of certain products

    I apologize for mis-interpreting the question.
    try this now...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I have tested it and its working for me...

  11. #11
    Registered User
    Join Date
    01-24-2015
    Location
    US
    MS-Off Ver
    2010
    Posts
    4

    Re: Formula for increasing the price of certain products

    Quote Originally Posted by Vikas_Gautam View Post
    I apologize for mis-interpreting the question.
    try this now...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I have tested it and its working for me...
    oh my god thank you so much! god bless your soul man. it works marvelously

+ 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. Making price chart for 3 products in 3 companies
    By Bandini in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-09-2014, 03:17 AM
  2. How many unique products in a price band
    By Steven811 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-09-2013, 10:59 AM
  3. Need Help Getting Price to Autofill For a products with three price options
    By elkhntr4 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-13-2012, 10:41 AM
  4. How to add up products across a row based on a price list?
    By JonathanSQ in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-21-2008, 01:30 PM
  5. [SOLVED] calculate % change in price for each of 200+ products
    By Jeff in forum Excel General
    Replies: 1
    Last Post: 04-24-2006, 03:10 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