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

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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