+ Reply to Thread
Results 1 to 10 of 10

Suit function to insert desired value

  1. #1
    Registered User
    Join Date
    11-03-2012
    Location
    Egypt
    MS-Off Ver
    Excel 2007
    Posts
    13

    Lightbulb Suit function to insert desired value

    Dear All,
    I attached sheet that show the request value should be one from difference cells depend on another criteria using (Or) Criteria,

    Ex: A1 should been filled by value that depend on criteria linked by either value of B2 or C2 or D2 or etc..

    See attachment further more details,

    Deeply thanks,
    M. Sami
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Suit function to insert desired value

    Hi dreammaker,

    Could you be more specific as to what the criteria are that link A1 to B2/C2/D2 etc?

  3. #3
    Registered User
    Join Date
    11-03-2012
    Location
    Egypt
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Suit function to insert desired value

    Hi Brumbot,
    Indpend on no. of years that specified on excel sheet,

    Thanks for speed response,,

  4. #4
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Suit function to insert desired value

    So to clarify, you would like the 'C' column to find out what the number of years is, in B2 (e.g. 2.74722222) and then return the value that is closest to the 2.7472222? So in this case it would be 3, and it would return the value 3185.69 from the column where 3 occurs?

    Or maybe I've completely misunderstood.

  5. #5
    Registered User
    Join Date
    11-03-2012
    Location
    Egypt
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Suit function to insert desired value

    Yes that's correct,,

  6. #6
    Forum Contributor
    Join Date
    01-04-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: Suit function to insert desired value

    Please Login or Register  to view this content.
    Enter the above into C2. Is this what you want?

  7. #7
    Registered User
    Join Date
    11-03-2012
    Location
    Egypt
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Suit function to insert desired value

    What I need to reach to the correct value 10,203.08
    That sum when 2=< B2 <3
    So calculation will be as: D2 + E2 + ( what remain of last year (.7472222) X F2)

    Hope it more clear,

  8. #8
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Suit function to insert desired value

    Hi dreammaker

    Have a look at the attached, alter the years in B2, to see if this meets your needs!
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  9. #9
    Registered User
    Join Date
    11-03-2012
    Location
    Egypt
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Suit function to insert desired value

    I actually tried by using this formula but I am not expert on using (Or) function So it came false as you see,

    =IF(1<B2<=0,0,A2*12.65300670%*B2)*OR(IF(2<B2<=1,0,D2+((A2-D2)*12.65300670%*(B2-1)))*OR(IF(3<B2<=2,0,D2+E2+((A2-D2-E2)*12.65300670%*(B2-2)))))*OR(IF(4<B2<=3,0,D2+E2+F2+((A2-D2-E2-F2)*12.65300670%*(B2-3))))*OR(IF(5<B2<=4,0,D2+E2+F2+G2+((A2-D2-E2-F2-G2)*12.65300670%*(B2-4))))*OR(IF(1000<=B2<=5,0,D2+E2+F2+G2+H2))
    = 11,471.00
    So result didn't came as I planned>>

  10. #10
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Suit function to insert desired value

    Hi dreammaker

    My mistake, see the attached.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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