Hi. In my spreadsheet designed to handle a project plan, if a stage was completed in the previous phase we type an apostrophe in front of the year, e.g. '2022 so it doesn't affect calculations for the current project, but still retains the historical information. In a nearby cell if I type the "IsText" function on this cell it correctly shows as True because of the apostrophe.
However, if I include this '2022 column in a SumIf formula and the criteria is 2022 there is a problem. It matches the '2022 with the 2022, thinks the '2022 is a number, sums as part of the total and throws off my calculations. Only if I enter a second apostrophe in front of the '2022 (appearing as ''2022) does it now recognize it as text and calculates correctly because it now sees it as text.
I don't understand why in one usage it sees it as text with only one apostrophe and works correctly, but with the SumIf it considers it a number. This inconsistency is frustrating and I don't know how to correct it. Yes, I could use a double apostrophe, but there are 100 other people that use this and I don't want to revise instructions for all of them.
Is there a way in the SumIf formula I can include an IsNonText so as to verify it is a number before including it in numbers to be summed? Any other ideas?
Thanks very much!
However, if I include this '2022 column in a SumIf formula and the criteria is 2022 there is a problem. It matches the '2022 with the 2022, thinks the '2022 is a number, sums as part of the total and throws off my calculations. Only if I enter a second apostrophe in front of the '2022 (appearing as ''2022) does it now recognize it as text and calculates correctly because it now sees it as text.
I don't understand why in one usage it sees it as text with only one apostrophe and works correctly, but with the SumIf it considers it a number. This inconsistency is frustrating and I don't know how to correct it. Yes, I could use a double apostrophe, but there are 100 other people that use this and I don't want to revise instructions for all of them.
Is there a way in the SumIf formula I can include an IsNonText so as to verify it is a number before including it in numbers to be summed? Any other ideas?
Thanks very much!