+ Reply to Thread
Results 1 to 4 of 4

formula to translate a value to a price code

  1. #1
    Registered User
    Join Date
    09-06-2011
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2003
    Posts
    7

    formula to translate a value to a price code

    hi this is my first post nice to be here
    her eis my sheet

    i have in col A ITEM NUMBER col B RETAIL PRICE Col C WHOLESALE PRICE NEED FORMULA FOR PRICE IN CODE

    THIS IS THE PRICE CODE I USE
    R=1
    E=2
    P=3
    U=4
    B=5
    L=6
    I=7
    C=8
    A=9
    0=0

    FORMULA THAT I CAN GET THIS RESULT C AND D MERGE IN A PRICE CODE D

    A B C D
    SV-500 100.00 115.00 R00 RR0 (THIS WILL BE THE RESULT)
    TM-232 55.00 65.00 BB LB
    LZ-100 320.00 380.00 PE0 PC0

    note. i dont use decimal for pricing

    thank you in advance for the help

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: formula to translate a value to a price code

    Click on the developer tab

    Click on Visual Basic

    Click 0n View and then project explorer

    Click on your spreadsheet

    Click on insert and then module.

    Paste this formula in the module that opens and close it.

    Please Login or Register  to view this content.
    In D1 enter the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and fill down
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    09-06-2011
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: formula to translate a value to a price code

    i will try it my good friend and thank you sir
    i will keep you posted

  4. #4
    Registered User
    Join Date
    09-06-2011
    Location
    https://t.me/pump_upp
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: formula to translate a value to a price code

    thank you for helping me my friend i really appreciate it

+ 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. How can i translate an Index/Match formula into VBA code?
    By hzarry in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-06-2015, 12:42 PM
  2. Translate formula to VBA code please :)
    By galvinpaddy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-06-2015, 06:14 AM
  3. [SOLVED] Translate array formula to VBA code
    By Villalobos in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-03-2015, 04:49 PM
  4. Translate Formula to VBA Code
    By mkeys4 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-17-2013, 12:44 PM
  5. IF Code help for price list. Price groupings cell allocation.
    By hotwoz in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 08-23-2010, 03:48 AM
  6. [SOLVED] translate ws formula to vba code
    By L Scholes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-16-2006, 10:40 PM
  7. Formula Help Price Code
    By natei6 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-04-2006, 10:35 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