Data to be divided in columns

bangushus

New Member
Joined
Jun 15, 2010
Messages
28
Hi!!
I have to calculate the number of flights operating each day,Now days of operation are mentioned in a single column as 01234567(Its a text)- which means that flight operates on all days except Monday.
I have break this data so, I add 7 more columns for each day from Monday to Sunday and put 1 as value in each column except that for monday.This in the end gives me in total how many flights are operating on each day of the week throughout the schedule.Now the data i have is hugh and i have to do this exercise for all the flights,Can there be any other way of doing it?
 
v. good SaladProblems, you missed a close bracket though:
=IF(ISERROR(FIND(COLUMNS($A$1:A$1),$D2)-1),0,1)

To bangushus: This formula must first be entered in a cell in Monday's column, then it can be copied across and down.
 
Upvote 0

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,215,102
Messages
6,123,099
Members
449,096
Latest member
provoking

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