I have Excel file where data is automatically input into varies sheets. I am trying to develop a new sheet to display some of the important information from some of the other sheets. I got most of the cells on my sheet done but two are giving me some problems. The problem is that I am using VLOOKUPS/ ISERROR and VLOOKUPS/ ISERROR. My problem is when we combine to separate answers that yield no result. I want to know if there was a way to prevent this to from showing " # VALUE! " when one or both of the VLOOKUPS/ ISERROR statements is false.
Below is a copy of the formula that I am using for the cells, and below that is an example of the data that I would receive.
=IF(ISERROR(VLOOKUP(22, ChargingData!$B$31:$I$41,2, FALSE)),"",VLOOKUP(22, ChargingData!$B$31:$I$41,2, FALSE)/2000) + IF(ISERROR(VLOOKUP(33, ChargingData!$B$31:$I$41,2, FALSE)),"",VLOOKUP(33, ChargingData!$B$31:$I$41,2, FALSE)/2000)
=IF(ISERROR(VLOOKUP(23, ChargingData!$B$31:$I$41,2, FALSE)),"",VLOOKUP(23, ChargingData!$B$31:$I$41,2, FALSE)/2000) + IF(ISERROR(VLOOKUP(33, ChargingData!$B$31:$I$41,2, FALSE)),"",VLOOKUP(33, ChargingData!$B$31:$I$41,2, FALSE)/2000)
Table data
33 65456 868931 654964 989872
23 65685 456331 6568 789911 65464
22 35468 84213 654987 633314
I was wondering if someone could help me to stop the table from show the "# VALUE!" message. Instead of that message I would like to display, " ", if there nothing in any of the cells and displays the correct information if there is data in any of the necessary cells. Thanks
VLOOKUPhas a slightly different range - SeanC