ellaine216
New Member
- Joined
- Apr 29, 2017
- Messages
- 5
Hello, guys, I'm currently having the final assignment of my semester and I'm having difficulty when it comes to the part to adding up dashes as zeros.
[TABLE="width: 936"]
<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD="colspan: 2"]Thursday[/TD]
[TD="colspan: 2"]Friday[/TD]
[TD="colspan: 2"]Saturday[/TD]
[TD]TOTAL[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Park[/TD]
[TD]Ticket Type[/TD]
[TD]Park[/TD]
[TD]Ticket Type[/TD]
[TD]Park[/TD]
[TD]Ticket Type[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Universal Studios[/TD]
[TD]One Park - 1 Day[/TD]
[TD]Universal Studios[/TD]
[TD]Park to Park - 1 Day[/TD]
[TD]Walt Disney World[/TD]
[TD]Magic Kingdom - 1 Day[/TD]
[TD="align: right"] $624.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Universal Studios[/TD]
[TD]One Park - 1 Day[/TD]
[TD]Universal Studios[/TD]
[TD]Park to Park - 1 Day[/TD]
[TD]Walt Disney World[/TD]
[TD]Park Hopper - 1 Day[/TD]
[TD="align: right"] $712.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Walt Disney World[/TD]
[TD]Other - 1 Day[/TD]
[TD]Universal Studios[/TD]
[TD]Park to Park - 1 Day[/TD]
[TD]Walt Disney World[/TD]
[TD]Park Hopper - 1 Day[/TD]
[TD="align: right"] $707.20[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]-[/TD]
[TD]-[/TD]
[TD]Universal Studios[/TD]
[TD]Park to Park - 1 Day[/TD]
[TD]Walt Disney World[/TD]
[TD]Magic Kingdom - 1 Day[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]-[/TD]
[TD]-[/TD]
[TD]Universal Studios[/TD]
[TD]Park to Park - 1 Day[/TD]
[TD]Walt Disney World[/TD]
[TD]Park Hopper - 1 Day[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
</tbody>[/TABLE]
There are two tables more which I have to use INDEX MATCH to look up the values and add them up, but the formula gives me the result when it comes to the cells including "-".
Please give me some ideas of how to solve this problem. Keep in mind that if I change the Park and Ticket type of any other days into to dashes and insert value in Thursday' cells, the formula should still working for it.
[TABLE="width: 936"]
<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD="colspan: 2"]Thursday[/TD]
[TD="colspan: 2"]Friday[/TD]
[TD="colspan: 2"]Saturday[/TD]
[TD]TOTAL[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Park[/TD]
[TD]Ticket Type[/TD]
[TD]Park[/TD]
[TD]Ticket Type[/TD]
[TD]Park[/TD]
[TD]Ticket Type[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Universal Studios[/TD]
[TD]One Park - 1 Day[/TD]
[TD]Universal Studios[/TD]
[TD]Park to Park - 1 Day[/TD]
[TD]Walt Disney World[/TD]
[TD]Magic Kingdom - 1 Day[/TD]
[TD="align: right"] $624.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Universal Studios[/TD]
[TD]One Park - 1 Day[/TD]
[TD]Universal Studios[/TD]
[TD]Park to Park - 1 Day[/TD]
[TD]Walt Disney World[/TD]
[TD]Park Hopper - 1 Day[/TD]
[TD="align: right"] $712.00[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Walt Disney World[/TD]
[TD]Other - 1 Day[/TD]
[TD]Universal Studios[/TD]
[TD]Park to Park - 1 Day[/TD]
[TD]Walt Disney World[/TD]
[TD]Park Hopper - 1 Day[/TD]
[TD="align: right"] $707.20[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]-[/TD]
[TD]-[/TD]
[TD]Universal Studios[/TD]
[TD]Park to Park - 1 Day[/TD]
[TD]Walt Disney World[/TD]
[TD]Magic Kingdom - 1 Day[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]-[/TD]
[TD]-[/TD]
[TD]Universal Studios[/TD]
[TD]Park to Park - 1 Day[/TD]
[TD]Walt Disney World[/TD]
[TD]Park Hopper - 1 Day[/TD]
[TD="align: center"]#N/A[/TD]
[/TR]
</tbody>[/TABLE]
There are two tables more which I have to use INDEX MATCH to look up the values and add them up, but the formula gives me the result when it comes to the cells including "-".
Please give me some ideas of how to solve this problem. Keep in mind that if I change the Park and Ticket type of any other days into to dashes and insert value in Thursday' cells, the formula should still working for it.