Formula based on Cell content

Outdoorsman80

Board Regular
Joined
Oct 4, 2014
Messages
61
Office Version
  1. 365
Platform
  1. Windows
I have a spread sheet with several columns:
Date PurchasedItemMint YearTypeMetalOz

<tbody>
</tbody>

The entries have 3 different Types: Coin, Ingot and Round. I want a formula that will query the entire table and show me how many coins I have. How can I do this? I'm wanting to show the results on another sheet.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Thank you for pointing me into the right direction, I was able to use countIf to could the amount of entries that were Silver.
Code:
=COUNTIF(E2:E2000,"Silver")

Now, what I need to do is calculate the weight of the silver items, I am stuck with that query. Here's what I tried, along with other formulas that got me no where:
Code:
=SUM(F2:F2000) * J3
I must have to have some sort of countif in there but am not sure.... Here's an example of the table:
ABCDEF
Date PurchasedItemMint yearTypeMetalOz
12/1/16Silver Dollar2016CoinSilver1
12/2/1610oz Cooper BarNAIngotCopper10
12/3/162oz Gold BarNAIngotGold2
12/4/16Silver Dollar2017CoinSilver1

<tbody>
</tbody>
 
Upvote 0
Thank you, that makes sense now. If this were SQL I'd have a lot easier time. :) I think this will point me into the right direction.
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,701
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top