Using criteria from one formula output to feed another?

2weetabix

New Member
Hi All,

I've been banging my head against a brick wall on this all day and can't fathom if its possible.
I've got a spreadsheet two two tabs.
One table contains columns of data. Column C is IP addresses, column F is numbers.
I've written this simple formula to search column C for anything with the IP address of 192.168 and return the sum of the corresponding values found in column F, which works fine.
=SUMIF(vDatastore!C:C,"*192.168.*",vDatastore!F:F)

However I wish to build on this and report only the largest value reported in column F from this criteria.

Is this possible?

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Fluff

MrExcel MVP, Moderator
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

2weetabix

New Member
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
Office 365

Fluff

MrExcel MVP, Moderator
Excel Formula:
``=MAXIFS(vDatastore!F:F,vDatastore!C:C,"*192.168.*")``

2weetabix

New Member
Excel Formula:
``=MAXIFS(vDatastore!F:F,vDatastore!C:C,"*192.168.*")``
This is why i love this forum - works perfectly - many thanks

Fluff

MrExcel MVP, Moderator
You're welcome & thanks for the feedback.

Replies
4
Views
68
Replies
1
Views
130
Replies
2
Views
202
Replies
5
Views
88
Replies
1
Views
535

1,130,212
Messages
5,640,895
Members
417,177
Latest member
njosh

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.

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

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