+ Reply to Thread
Results 1 to 10 of 10

GoogleSheets: Vlookup if divide

  1. #1
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    GoogleSheets: Vlookup if divide

    Sorry, then I will change my question, please check my updated screenshot and file attached https://prnt.sc/M2-kcsimj4KR.

    I want to know the formula, at colomn E2, how to divide B by D and drag down to E5 ?
    in a condition, changing the text value to becomes number as following :

    low -> 3.33
    medium -> 6.67
    high -> 9,90
    Attached Files Attached Files
    Last edited by maniacs205; 06-13-2022 at 05:21 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Vlookup if divide

    Which version of Excel is this for? Or does it need to work with Google Sheets?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,445

    Re: Vlookup if divide

    You can't divide B3 by D3 because B3 has text in it.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Re: Vlookup if divide

    hi

    its for google sheet

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: GoogleSheets: Vlookup if divide

    Thread moved to the correct sub-forum.

  6. #6
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Re: Vlookup if divide

    Quote Originally Posted by TMS View Post
    You can't divide B3 by D3 because B3 has text in it.
    Sorry, then I will change my question, please check my updated screenshot and file attached https://prnt.sc/M2-kcsimj4KR.
    I want to know the formula, at colomn E2, how to divide B by D and drag down to E5 ?
    in a condition, changing the text value to becomes number as following :

    low -> 3.33
    medium -> 6.67
    high -> 9,90

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: GoogleSheets: Vlookup if divide

    Don't provide links to screenshots - a workbook attached to your post is better, but you can attach a screenshot directly here, too. Nobody should have to follow links.

  8. #8
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Re: GoogleSheets: Vlookup if divide

    Sure no worries, I made in excel sheet now :

    https://docs.google.com/spreadsheets...iJM/edit#gid=0
    Last edited by AliGW; 06-13-2022 at 05:37 AM. Reason: PLEASE don't quote unnecessarily!

  9. #9
    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,202

    Re: GoogleSheets: Vlookup if divide

    Try

    =IF(ISTEXT(B2),LOOKUP(B2,{"High","Low","Medium"},{9.9,3.33,6.67})/D2,B2/D2)
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  10. #10
    Forum Contributor
    Join Date
    09-20-2018
    Location
    Jakarta
    MS-Off Ver
    google
    Posts
    102

    Re: GoogleSheets: Vlookup if divide

    Quote Originally Posted by JohnTopley View Post
    Try

    =IF(ISTEXT(B2),LOOKUP(B2,{"High","Low","Medium"},{9.9,3.33,6.67})/D2,B2/D2)


    Thank you, worked now !

+ 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] Googlesheets - Clickable shortcut to line
    By Web-Man in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 9
    Last Post: 04-12-2022, 10:58 AM
  2. GoogleSheets: Stock average price
    By Antrr3 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 12
    Last Post: 04-20-2021, 02:11 AM
  3. [SOLVED] Summary of names on Excel and GoogleSheets.
    By sirdon in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-19-2020, 09:24 PM
  4. Connecting two googlesheets like workbooks
    By ImranBhatti in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 02-01-2020, 12:21 PM
  5. [MOVED] Connecting two googlesheets like workbooks
    By ImranBhatti in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-01-2020, 11:45 AM
  6. [SOLVED] Averaging time data in Googlesheets (mm:ss.0 format)
    By jollygreengiant in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-05-2016, 02:27 PM
  7. [SOLVED] Formula need: divide and vlookup combination
    By HerryMarkowitz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2015, 02:17 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