Noobie Question: Value based on mulit criteria

fodzilla

Board Regular
Joined
Jun 16, 2011
Messages
120
Hi All,

Need a little help with a formula or put easliy as a marco I can embed in my VBA code.

I require the score on sheet2 placing in the score col on sheet 1.

The issue is that the score on the row on sheet2 needs to appear against each and every record on sheet 1 that meets set criteria.

The criteria is:
The agent name must match
The date must match
The activation date on sheet 2 must be between the starttime and endtime on sheet1.

Again the record on sheet2 need to populate multiple records on sheet1 when required and that not all sheet1 records will require a score if the criteria doesn't match.

Hope this make sense. I have attached a pic to help if needed.

Thanks in advance
Fodzilla

sheet1.jpg
sheet2.jpg
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Just to confirm I have already tried to us a Vlookup and =Sumif. I do have 2007 and know a little about =sumifs but don't think this is the correct use of them as I'm looking at a range of values that could be returned.

Thaks
Fotis
 
Upvote 0
Hi Everyone,

Can anyone help with this? Been trying it for hours and still not got anywhere. Sorry but I think it may be beyond me here.
 
Upvote 0
How about this idea... tough to explain so I used a screen pic

You will need to anchor ($) some of those cell references as appropriate

019.gif
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

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