+ Reply to Thread
Results 1 to 4 of 4

How to change a cell to reflect an amount in another cell with numerous possible values

  1. #1
    Registered User
    Join Date
    09-16-2015
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    1

    How to change a cell to reflect an amount in another cell with numerous possible values

    Hello,

    This is my first post so apologies if it's not in the correct thread. I'm fairly new to excel.

    I'm looking for a specific formula (not a calculation).

    I have specific prices for items in my shop which have discounted RRP prices. There is no calculation to work out the discount I want to offer on each RRP but I already have set prices for each RRP. Here's an example;

    RRP Selling Price
    $24.99 $18.50
    $30.00 $23.84
    $75.00 $59.97

    My selling prices never change (and they are just set prices so there's no formula to work them out) but I have large volumes of stock so it's a pain manually changing each selling price to reflect the RRP.

    I want a formula which says something along the lines of 'if a1 =$24.99 then b1=$18.50 or if a1=$30.00 then b1=$23.84 and so on'. I realise this would be a long formula as there are about 50 different RRPs but think this is the only way I could do it.

    Can anyone please help me with this?
    Last edited by texas_pete; 09-16-2015 at 04:32 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,335

    Re: Help with formula

    Removed as reqested

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to change a cell to reflect an amount in another cell with numerous possible value

    Set up your table of RRP and Selling prices on Sheet2 in Column A and B so, assuming there's a header, lets say in sheet2!A2:B52

    Then on Sheet1, if your RRP is in A3, in B3 use this formula

    =VLOOKUP(A3, Sheet2!$A$2:$B$52, 2, FALSE)

    If you are going to have a whole column of RRP in column A, you might want this formula in B3 copied down

    =IF(ISNUMBER(A3), VLOOKUP(A3, Sheet2!$A$2:$B$52, 2, FALSE), "")

    Here is a good link to learn more about VLOOKUP
    http://www.contextures.com/xlFunctions02.html
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: How to change a cell to reflect an amount in another cell with numerous possible value

    Sounds like you want this...

    http://contextures.com/xlFunctions02.html
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM

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