+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : extract value using If; plus convert value to different Rates

  1. #1
    Registered User
    Join Date
    06-30-2010
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    14

    extract value using If; plus convert value to different Rates

    hi, im not sure if it is possible to use Sumif, to extract the value from cell using multiple criteria,
    and also convert different Currency into one standard exchange rate


    I hope this xls will give you an clearer picture of what i mean....

    any advice and solution welcome!
    thanks in Advance
    regards
    GZ
    Attached Files Attached Files
    Last edited by Gzchan; 10-20-2010 at 04:44 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: extract value using If; plus convert value to different Rates

    Down and dirty this is really 3 formulas in one cell. Put this in B3 and then copy down and across:

    =SUMPRODUCT(--('Offer Sheet'!$A$2:$A$46=2007),--('Offer Sheet'!$C$2:$C$46=$A3),--('Offer Sheet'!$D$2:$D$46=B$2),--('Offer Sheet'!$E$2:$E$46="EUR"), 'Offer Sheet'!$F$2:$F$46) + SUMPRODUCT(--('Offer Sheet'!$A$2:$A$46=2007),--('Offer Sheet'!$C$2:$C$46=$A3),--('Offer Sheet'!$D$2:$D$46=B$2),--('Offer Sheet'!$E$2:$E$46="SGD"), 'Offer Sheet'!$F$2:$F$46) *0.5 + SUMPRODUCT(--('Offer Sheet'!$A$2:$A$46=2007),--('Offer Sheet'!$C$2:$C$46=$A3),--('Offer Sheet'!$D$2:$D$46=B$2),--('Offer Sheet'!$E$2:$E$46="USD"), 'Offer Sheet'!$F$2:$F$46) * 0.7


    Some of your column D values on the Offer Sheet need correcting...they should be FEB.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-30-2010
    Location
    singapore
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: extract value using If; plus convert value to different Rates

    thanks for the help! u have just help me by reducing 20 Columns of data into just 4 columns!
    i was just starting to think that this could be impossible, thanks for proving me wrong

    regards
    GZ

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: extract value using If; plus convert value to different Rates

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: extract value using If; plus convert value to different Rates

    There is no need for 3 SUMPRODUCTs here - persist with SUMIFS as it is far more efficient (esp. when used in triplicate)

    Please Login or Register  to view this content.

+ 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