+ Reply to Thread
Results 1 to 3 of 3

Help assigning a value to a letter for a formula

  1. #1
    Registered User
    Join Date
    12-02-2017
    Location
    Orlando
    MS-Off Ver
    2007
    Posts
    1

    Help assigning a value to a letter for a formula

    Hello there, new to this forum. I've been looking for help like crazy so hopefully one of you can help me out.

    I'm creating a sheet for work where several people will be inputting different data.
    For this formula, cell A will have different letters from A to Y, but half of those will have a value of 1, the other half a value of 2.
    Then this value will be multiplied by the ammount in cell B2 for example $10.

    How does one achieve this?

    Thank you in advance.

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Help assigning a value to a letter for a formula

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Help assigning a value to a letter for a formula

    If you have, say, all letters from M down = 1 and all letters N and up = 2, this could be achieved by using something like...
    =your-value*if(CODE(LOWER(A1))<=109,1,2)

    If the value assignment is random, maybe create a small lookup table and use vlookup?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Assigning a value to a letter
    By Jhertilus in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-21-2016, 03:27 PM
  2. Replies: 5
    Last Post: 08-21-2013, 09:31 AM
  3. Assigning a numerical value to a letter in excel
    By lisa07956 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-15-2013, 09:45 AM
  4. Excel 2007 : assigning value to a letter
    By shockwave22 in forum Excel General
    Replies: 6
    Last Post: 02-24-2010, 04:56 PM
  5. Assigning a value to a letter.
    By Fuzzdawg in forum Excel General
    Replies: 4
    Last Post: 01-20-2010, 03:14 AM
  6. Assigning a value to a letter
    By snowbunny00774 in forum Excel General
    Replies: 2
    Last Post: 09-01-2006, 09:52 AM
  7. [SOLVED] Assigning a number value to a letter?
    By Orphan86 in forum Excel General
    Replies: 3
    Last Post: 08-30-2005, 07:05 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