+ Reply to Thread
Results 1 to 9 of 9

How to multiply a constant to only first 10 digits of 45 digits in a Logical Function

  1. #1
    Forum Contributor
    Join Date
    02-06-2014
    Location
    The Show Me State
    MS-Off Ver
    Excel 2013
    Posts
    343

    Smile How to multiply a constant to only first 10 digits of 45 digits in a Logical Function

    Okay, so far I have this for (Sheet 1) A1 =IF('Sheet 2'!B9>=0.5,'Sheet 3'!B3*10,B3*0). There can be a number between 0 & 45 in 'Sheet 3'!B3, But I only want *10 to apply to numbers from 1 to 10 and no higher.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to multiply a constant to only first 10 digits of 45 digits in a Logical Function

    =IF(Sheet2!B9>=0.5,IF(Sheet3!B3<=10,Sheet3!B3*10,Sheet3!B3),0)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Contributor
    Join Date
    02-06-2014
    Location
    The Show Me State
    MS-Off Ver
    Excel 2013
    Posts
    343

    Re: How to multiply a constant to only first 10 digits of 45 digits in a Logical Function

    That is getting me the result of: 0-10 is *10 and anything over 10 is actual B3 value

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to multiply a constant to only first 10 digits of 45 digits in a Logical Function

    thats what you asked for
    But I only want *10 to apply to numbers from 1 to 10 and no higher.
    you never mentioned what happens when>10 so i assumed they were left as is

  5. #5
    Forum Contributor
    Join Date
    02-06-2014
    Location
    The Show Me State
    MS-Off Ver
    Excel 2013
    Posts
    343

    Re: How to multiply a constant to only first 10 digits of 45 digits in a Logical Function

    Yes you are right. I got what I asked for. I should have said I do not want to see any numbers other that 1-10 *10 results. Sorry.

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to multiply a constant to only first 10 digits of 45 digits in a Logical Function

    =IF(AND(Sheet2!B9>=0.5,Sheet3!B3<=10),Sheet3!B3*10,0)
    or
    =IF(AND(Sheet2!B9>=0.5,Sheet3!B3<=10),Sheet3!B3*10,"")

  7. #7
    Forum Contributor
    Join Date
    02-06-2014
    Location
    The Show Me State
    MS-Off Ver
    Excel 2013
    Posts
    343

    Re: How to multiply a constant to only first 10 digits of 45 digits in a Logical Function

    I really appreciate you helping me. Unfortunately I am not conveying the true result set that I need. In a description, this is what I am looking for. When people meet Sheet 2 criteria, I will pay them $10 per point up to 10 points from sheet 3. On sheet 3 is there total points earned, anywhere from 0-45. But I will only pay for the first 10. I am wanting to see how much I need to pay them. If they have 11 - 45 points, I still need to see the $100 I am paying. An example of data is below. Thank you so much.

    Pay Points
    $10 1
    $70 7
    $100 10
    $100 31
    $100 45

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to multiply a constant to only first 10 digits of 45 digits in a Logical Function

    =IF(Sheet2!B9>=0.5,MIN(Sheet3!B3*10,100),0)

  9. #9
    Forum Contributor
    Join Date
    02-06-2014
    Location
    The Show Me State
    MS-Off Ver
    Excel 2013
    Posts
    343

    Re: How to multiply a constant to only first 10 digits of 45 digits in a Logical Function

    That is exactly it. Thank you very much for being so patient with me.

+ 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] Looking for a formula to count single digits vs. double digits?
    By mnlaw in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-29-2023, 02:20 PM
  2. Changing digits after decimal to specific digits based on a criteria
    By mpatel000 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-28-2012, 02:41 AM
  3. Replies: 3
    Last Post: 12-05-2012, 11:03 PM
  4. [SOLVED] extracting digits only from column with letters and digits
    By Jayne in forum Excel General
    Replies: 11
    Last Post: 08-20-2012, 10:38 PM
  5. Replies: 5
    Last Post: 12-08-2008, 11:47 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