Match two criteria to generate data in other format

lmmay

Board Regular
Joined
Jun 6, 2014
Messages
85
I produce a weekly work log of time spent on various Disasters for my Disaster Recovery Director. The Grant Administrator requires a monthly Management Hours report in a different format.

I wish to automate the process. I am presently using [IF(AND('Work Log'!C58=1819,'Work Log'!e58'MGMT HRS 9-14(HM)'!A6='Work Log'!A58),'Work Log'!E58,"")].
This is quite cumbersome, since it requires modifying each cell. Is there a Match formula to make my life easier?
Sheet 1 (9/1/14) is Col A57, Sheet 2 (9/1/14) is Col A6.
Work LogManagement Hours
Sheet 1Sheet 2
DAYAPPLICANTDRDescriptionHOURSDATE181919181975186141004124414341604174HRS
Monday, September 1, 2014Newton County4143Reviewed email from1Monday, September 1, 20140.0
Tuesday, September 2, 2014Carroll County4143Reviewing PW 0197Tuesday, September 2, 20148.08.0
Wednesday, September 3, 2014Newton County4143Printing, reviewing to r1Wednesday, September 3, 20148.08.0
Wednesday, September 3, 2014Carroll County4143Reviewing PW 019-re7Thursday, September 4, 20140.0
Thursday, September 4, 2014Newton County4143Review PW 112Friday, September 5, 20140.0
Friday, September 5, 2014Carroll County4143Review PW 0196Saturday, September 6, 20140.0
Monday, September 8, 2014Newton County4143Review PW 11, email8Sunday, September 7, 20140.0
Tuesday, September 9, 2014Newton County4143Completed review of8Monday, September 8, 20143.05.08.0
Wednesday, September 10, 2014Arkansas VEC4160Sorting Documents fo8Tuesday, September 9, 20148.08.0
Wednesday, September 10, 20148.08.0
Thursday, September 11, 20140.0

<tbody>
</tbody>
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Please check the formula you are using, The part in red seems to be incomplete

[IF(AND('Work Log'!C58=1819,'Work Log'!e58'MGMT HRS 9-14(HM)'!A6='Work Log'!A58),'Work Log'!E58,"")].
 
Upvote 0
Solution
Please check the formula you are using, The part in red seems to be incomplete

[IF(AND('Work Log'!C58=1819,'Work Log'!e58'MGMT HRS 9-14(HM)'!A6='Work Log'!A58),'Work Log'!E58,"")].

You are right. The formula actually reads:

=IF(AND('Work Log'!$C58=1819,'MGMT HRS 9-14(HM)'!$A6='Work Log'!$A58),'Work Log'!$E58,"")

Also, somehow when the HTML was created the DR numbers became erroneous. The first four should be 1819 and the last four should be 4160.
 
Upvote 0

Forum statistics

Threads
1,202,976
Messages
6,052,882
Members
444,608
Latest member
Krunal_Shah

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