Hi Forum
I am having some trouble with my excel spreadsheet (I have attached an example of the spreadsheet on this thread).
Basically what I want to happen is on 'Sheet 2' (cell B3) I would like to have a formual so that if 'Sheet 1'(Cell B5) equals a certain number it will populate with another cell (e.g. Cell B22). For Example::
If 'Sheet 1, B5' = 0 then 'Sheet 2, B3' will populate with 'Sheet 2, C21' (the cross in the red box)
If 'Sheet 1, B5' = 1 then 'Sheet 2, B3' will populate with 'Sheet 2, C22' (the tick in the green box)
If 'Sheet 1, B5' = 2 then 'Sheet 2, B3' will populate with 'Sheet 2, C23' (the tick in the green box)
If 'Sheet 1, B5' = 3 then 'Sheet 2, B3' will populate with 'Sheet 2, C24' (the tick in the green box)
If 'Sheet 1, B5' = 4 then 'Sheet 2, B3' will populate with 'Sheet 2, C25' (the tick in the green box)
If 'Sheet 1, B5' = 5 then 'Sheet 2, B3' will populate with 'Sheet 2, C26' (the tick in the green box)
If 'Sheet 1, B5' = 6 then 'Sheet 2, B3' will populate with 'Sheet 2, C27' (the tick in the green box)
Now I beleive you can do this with an IF Statement and this is the one I found would populate it correctly:
=IF(Sheet1!B5=0,Sheet2!C21,IF(Sheet1!B5=1,Sheet2!C22,IF(Sheet1!B5=2,Sheet2!C23,IF(Sheet1!B5=3,Sheet2!C24,IF(Sheet1!B5=4,Sheet2!C25,IF(Sheet1!B5=5,Sheet2!C26,IF(Sheet1!B5=6,Sheet2!C27)))))))
However when I try to drag this formula down to populate all the other boxes it moves the 'Sheet 2, C21-C27' cells down to 'Sheet 2, C22-C28' and so on. How do I get this not to happen??
Because I need to do 4 weeks for each month and if I have to populate it manually and change it, it will take forever.
Also how do I get the cell to include the colour??
Any help on this would be greatly appreciated Inspection Schedule Example.xls
Regards
Rhiannon
Bookmarks