Formula to Convert other currency to USD currency different rate in different month - excel-formula

I want to know the formula to Convert other currency to USD currency different rate in different month. Please refer to attached image
I had tried IF and INDEX function, but when I drag down, error appears, it works in the first cells.

Related

Excel: I want a formula to display if a column contains "specific text"

Please view screenshot
Orange table shows payments received/outstanding for a single month, in this case, Aug.
Green table shows total monthly payments, a good overview snapshot of how each month is doing.
I want a formula that can identify in column L for the month of Aug, any text that says "Outstanding"(it could be one cell or multiple cells). And if that is detected, then the green yearly snapshot will indicate "Outstanding" in the I column.
This will help me quickly find which months still have outstanding payments to look into.
=IF(COUNTIF(A1,"*outstanding*"),"Outstanding","")
I am not seeing in your example how you choose your month; you may need to account for multiple conditions (countifs()) and use your overall range, e.g., if nothing has a december date, then it displays "Outstanding", whereas it sums for each december date if found date (sumifs()).

Extracting percentage with VLOOKUP to use in another table

So I've got these 3 tables. The top one should be filled based on the other 2. Info in the grey cells is manually entered.
Picture
I've used VLOOKUP to get the Brand, Model and Year made and I need to calculate the Tax depending on the year the car has been made. Tax is product of Price and % for tax. The % for Tax should be extracted by the additional table. VLOOKUP should be used, range G17:H19 and the third argument being TRUE/FALSE.
Do I have to use a VLOOKUP inside VLOOKUP, because I've tried a few things and I keep getting #Value!, #N/A! or #Ref! errors.
CLARIFICATION: I have to extract the year it has been made from a table and then compare that to the additional table and check whether it's below 2013 or >=2013 and then use the corresponding percentage. I've manually added and highlighted the desired values.
Also is there a way to format a whole row based on the value in cell E9, meaning the row that contains that value gets formatted in some way?
You can use one VLOOKUP for this because the price of each car has already been entered. You just need to multiply it by the tax rate:
=B2*VLOOKUP(A2,G$11:H$13,2,FALSE)
Notice that this formula returns errors for a couple of rows because there is no tax percentage for them.
If you want to use a default value when there isn't a year-specific value, let's say 13.2%, then your formula would be:
=IFERROR(B2*VLOOKUP(A2,G$11:H$13,2,FALSE),B2*0.132)
Per your clarification above, you don't need VLOOKUP for this since there are just two scenarios. You want it to return 13.2% if car is 2013 or newer, and 10.4% if car is 2012 or older.
Put the following formula in E5 and copy it down:
=IF(VALUE(D5)<2013,E5*.104,E5*.132)

Excel Index Match Date range and return SUM of matches

I have dug around the existing posts but can't find my specific issue so wanted to ask the question. I have a basic spreadsheet at the moment for keeping track of financial information like daily expenses, i want to do more graphs and a summary of spends for weeks and months but have issues with what i am trying to achieve. In essence i want to match the information that includes a month i want to match, for example "/11/2016" and return the SUM of all these matches in another cell (I4 in my example). So far i have this but know i am doing something wrong. The cells are set to DD/MM/YYYY format but i always get the #N/A error.
Any help would be appreciated. Sample is in A3:D5 below:
Date Amount Payment From Payment Method
28/11/2016 24,000 Car sale money less 1000 deposit paid CASH
22/11/2016 1,000 Deposit for car purchase CASH
My code at present in I4 is:
=INDEX($B$4:$B$6,MATCH("/11/2016",$A$4:$A$6,0))
I realize i am missing the SUM part and as you can tell i am a novice.
Any help would be much appreciated.
Greetings from Hong Kong
I think you should be careful with how the date is entered in the cell. It should be entered in the format MM/DD/YYYY. However you can set the display format to be DD-MM-YYYY.
You can use this formula to calculate the sum of all amount in month 11 and year 2016
=SUMPRODUCT(--(MONTH(A4:A5)=11)*--(YEAR(A4:A5)=2016)*B4:B5)
Google Sheet

Conditional formatting formula to highlight max goods's price and volume

I have a question about use conditional formula to format highlight some cells in excel.
This is my data and I get the highlight with my hands difficult:
What I want to do is:get every goods(like Goods A for all months there's have a max price and a max volume) max price and max volume,highlight them.
I get the highlight with click every Goods A's Price then use conditional formula get the max one,then click every Goods A's volume, use conditional formula get the max one.Then Format brush Goods A for Goods B,for Goods C...
I asked google,and get a conditional formula format like this:
Code Is here:
=AND(MAX($B3:$W3)=B3,MOD(COLUMN(),2)=1)
=AND(MAX($C3:$W3)=C3,MOD(COLUMN(),2)=0)
But if I use this conditional formula format,I get result like this:
That's not what I want,but what's wrong with my format?
How should I do to get the right format?
To mark the maximum price, you need to match each cell against the maximum of all the prices. This works because all of the prices are numerically larger than the volumes. However, when you want to match against the highest volume, each volume is being compared to the maximum price again. You need to peel out the maximum volume.
First delete the old rule so that they will not interfere then select B3:W17 and add these two new formula based CF rules.
'CF rule formula for maximum price
=AND(B3=MAX(INDEX($B3:$W3*MOD(COLUMN($A:$V), 2),,)), MOD(COLUMN(A:A), 2), B3<>"")
'CF rule formula for maximum volume
=AND(B3=MAX(INDEX($B3:$W3*MOD(COLUMN($B:$W), 2),,)), MOD(COLUMN(B:B), 2), B3<>"")
I am not sure what you want to see, but guessing how about these formulae
=MAX(IF(MOD(COLUMN($B3:$W3),2)=0,$B3:$W3,-1))=B3
=MAX(IF(MOD(COLUMN($B3:$W3),2)=1,$B3:$W3,-1))=B3
You format your cell if:
its value is the maximum value in its row AND
the column index mod 2 is 0 or 1.
This means, that e.g. the volume cell will not be formatted if any value in a price cell is bigger, because the first part of the formula will never become true for the volume cell (you check across the whole row, not just across all volume cells).
Instead of getting the max value across the whole range, you should get your max value only for the cells you actually want to compare (like MAX(B3;D3;F3;...)).

Lookup of multiple cell to calculate amount from multiple cells

I am trying to find a formula for below
I have a premium amount which is any number
these premium amount are in different currencies
I have a Rate of Exchange tab that converts all currencies to all currencies. e.g: USD to GBP or EUR to USD or GBP to EUR
Now I want to convert every premium into 1. USD and 2 GBP. any help will be greatly appreciated.
Actual Excel spreadhseet
An easy way to do this is just to use a vlookup() to get the conversion, then multiply that by the number. Here's what I did, you will have to adjust of course based on where your exchange rates are, and how they're laid out, but this should work:
And then for the Sterling column, I'd switch the vlookup to search $I$2:$J$8.

Resources