Text function issue

Mchllwoods

New Member
Joined
Feb 15, 2019
Messages
12
I'm making a grocery list in Excel. One sheet has my list then next sheet has a listing of my local grocery stores with items, prices and weight.

I want to search thru the items against what's in my grocery list for the lowest price.

I only have Microsoft Excel 2010. I'm trying to use MIN and SEARCH functions within the SUMIFS function. They r not working. I'm also trying to use AGGREGATE instead of SUMIFS but that's not working either.

What am I doing wrong?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

mikerickson

MrExcel MVP
Joined
Jan 15, 2007
Messages
24,220
Is your goal
"This is my list. I am going to buy everything from one store. Which store?"
or
"This is my list. I am going to go to many stores. Which items am I going to buy from which store?"
 

Mchllwoods

New Member
Joined
Feb 15, 2019
Messages
12

ADVERTISEMENT

I can't send a screenshot. Info too large. If u have OneDrive or GoogleDrive I might be able 2 send a sample that way. This is my first time using Mr. Excel so I'm not too familiar w/ it.
 

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
15,092
Office Version
  1. 2010
Platform
  1. Windows
You could upload a copy of your file to a free site such as www.box.com or www.dropbox.com. Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here. If the workbook contains confidential information, you could replace it with generic data.
 

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
15,092
Office Version
  1. 2010
Platform
  1. Windows
Try this Array formula in sheet List, cell G4

Sheet List

CellArray Formula
G4{=IF(IFERROR(BUSCARV("*"&A4&"*",storesTbl[Item],1,0),0)=0,0,SUMPRODUCT(MIN(IFERROR(IFERROR(SEARCH(A4,storesTbl[Item]),0)/IFERROR(SEARCH(A4,storesTbl[Item]),0),99999999)*(storesTbl[Price]))))}

<tbody>
</tbody>

Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>



Copy the formula down.
 

Mchllwoods

New Member
Joined
Feb 15, 2019
Messages
12
where did the BUSCARV function come from cause basic Excel doesn't have it??? Is that a macro? I don't know macros well enough 2 use them.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,073
Messages
5,857,197
Members
431,862
Latest member
wiz of az

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
Top