+ Reply to Thread
Results 1 to 6 of 6

Multiply Cell by different ways. depending on the. Text Value

  1. #1
    Registered User
    Join Date
    04-18-2022
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2

    Multiply Cell by different ways. depending on the. Text Value

    For example

    If B4 IS HAS A TEXT VALUE OF N IT WILL MULTIPLY BY 1.01
    If B4 IS HAS A TEXT VALUE OF E IT WILL MULTIPLY BY 1.02
    AND SO ON SO ON

  2. #2
    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,054

    Re: Multiply Cell by different ways. depending on the. Text Value

    Your description is FAR from clear. A guess:

    =C2*LOOKUP(B2,{"E","N"},{1.02,1.01})

    ensure that the values in red are in alphabetical order...
    Attached Files Attached Files
    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

  3. #3
    Registered User
    Join Date
    04-18-2022
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2

    Re: Multiply Cell by different ways. depending on the. Text Value

    You are amazing thank you

  4. #4
    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,054

    Re: Multiply Cell by different ways. depending on the. Text Value

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this thread as SOLVED.

  5. #5
    Registered User
    Join Date
    10-23-2017
    Location
    Boston, MA
    MS-Off Ver
    Excel 365
    Posts
    73

    Re: Multiply Cell by different ways. depending on the. Text Value

    How did I not know about LOOKUP all this time? I have similar conditional situations in my file and I've been using ugly nested IF formulas all along. Thank you from me as well!

    Ah, It's a lot like VLOOKUP, it's just that you're using it in a way I've never seen before (not cell ranges, but value ranges).

  6. #6
    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,054

    Re: Multiply Cell by different ways. depending on the. Text Value

    LOOKUP is, I think, VLOOKUP's father, ir grandfather. However it has lots of versatile features that come in handy almost every day.

+ 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. [SOLVED] Multiply 2 cells depending on which checkbox is checked.
    By IFSSCref in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-16-2021, 07:37 PM
  2. [SOLVED] Multiply one cell by multiple criteria, depending on the value.
    By MrRapa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2020, 11:47 AM
  3. Replies: 1
    Last Post: 05-14-2019, 03:06 PM
  4. Replies: 4
    Last Post: 02-19-2017, 03:56 PM
  5. Multiply depending on if letter is in cell
    By Appleseed in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-29-2015, 10:21 AM
  6. [SOLVED] Multiply results of cell depending on number in cell
    By sparky24 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-21-2012, 02:13 PM
  7. Multiply Depending on year
    By ZackG in forum Excel General
    Replies: 2
    Last Post: 05-02-2011, 11:45 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