I need to use the IF 53 times ! I have 53 rows which I am using filter and Subtotal (row70) I need to get one of the columns "C" to enter its text (names) into the subtotal row 70.
However I can only use the brackets up to 9 times ( I think) can does anyone know how to reduce the formula size. I need to get A70 up to =53 and likewise with the C column. =IF(A70=3,C3,IF(A70=4,C4,IF(A70=5,C5,IF(A70=6,C6,IF(A70=6,C6,IF (A70=7,C7,IF(A70=8,C8, IF(A70=9,C9)))))))) Row 70 works like this if the subtotal in column A row 70 = 5 then in the subtotal column C (where the above formula is) it puts the name of the person, all the other subtotal columns are for data and they work fine. This does what I need but I need but only up to number 9, I need to get the "equals" up to number 53 and therefore the C part of the formula up to 53. thanks everyboy how reads these posts. -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,500 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe