If statements

Graysleaf

New Member
Joined
Oct 23, 2013
Messages
38
Good morning,

I would like to know how to write an IF statement that is capable to do the following:

=IF(C3:I8)(Sheet1) contains "5229" then copy A3 of same row(Sheet1) and paste to (Sheet4) B2

Any ideas? ;)
 
Essentially I'm trying to accomplish the following:

I will have a spreadsheet with column A containing about 200 names of employees.
Column B thru ZZ will be consecutive dates of the year.
The array B2:ZZ200 will be serial numbers of customers that my employees are assigned to.
I'm using the spreadsheet as a schedule to assign who the employees will be working for.
The present day (column B) will have a number or serial number representing a customer.
There will be multiple employees assigned to the same customer.
For all the employees that are assigned to customer "5229" I would like there names to be copied and pasted into a text box on another sheet so that I could move them around as a group.
The reason for the text box is to be overlaid on a map of where the customer is located. i.e.: slot 2N or 3S (locations on the map)

Any help would be great ;)
 
Upvote 0

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,215,360
Messages
6,124,492
Members
449,166
Latest member
hokjock

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