disculpa la demora amigo lo que hace hasta ahora me genera una tabla por cada variable seleccionada 
   Código PHP:
    <?php
session_start();
 
include("conexion.php");
$con = conectar();
  if (isset($_GET["fecha1"])) {
    $fecha1 = $_GET["fecha1"];    
}
if (isset($_GET["fecha2"])) {
    $fecha2 = $_GET["fecha2"];    
}
 
if (isset($_GET["filtro"])) {
    $filtro = $_GET["filtro"];    
}
 
 $porNombre1=$_GET['filtrar'];
        // Recorremos todos los valores del select para encontrar el
        // seleccionado
        $cantidad = count($porNombre1) ; 
    for ($i=0; $i<$cantidad; $i++){   
 
                  $del_id = $porNombre1[$i]; 
   
 
$numero=1;
$fecha11 = date('d-m-Y', strtotime($fecha1));
$fecha22 = date('d-m-Y', strtotime($fecha2));
$funcio=$_SESSION["nombre"];
switch ($filtro) {
    case 0:
        $sql="SELECT $del_id FROM hojat WHERE (fechaingreso BETWEEN '$fecha11 ' AND '$fecha22 ' AND funcionario='$funcio')"; 
        break;
    case 1:
        $sql="SELECT $del_id FROM hojat where estado = 'Libre' AND (fechaingreso BETWEEN '$fecha11 ' AND '$fecha22 ' AND funcionario='$funcio') order by estado";
        break;
    case 2:
        $sql="SELECT $del_id FROM hojat where estado= 'Validacion' AND (fechaingreso BETWEEN '$fecha11 ' AND '$fecha22' AND funcionario='$funcio') order by estado";
        break;
    case 3:
        $sql="SELECT $del_id FROM hojat where estado = 'Valoracion' AND (fechaingreso BETWEEN '$fecha11 ' AND '$fecha22 ' AND funcionario='$funcio') order by estado";
        break;
    case 4:
        $sql="SELECT $del_id FROM hojat where estado = 'Visto Bueno' AND (fechaingreso BETWEEN '$fecha11 ' AND '$fecha22 ' AND funcionario='$funcio') order by estado";
        break;
    case 5:
        $sql="SELECT $del_id FROM hojat where estado = 'Retencion por Rotulado' AND (fechaingreso BETWEEN '$fecha11 ' AND '$fecha22 ' AND funcionario='$funcio') order by estado";
        break;
    case 6:
        $sql="SELECT $del_id FROM hojat where estado = 'Retencion por Rotulado' AND (fechaingreso BETWEEN '$fecha11 ' AND '$fecha22 ' AND funcionario='$funcio') order by estado";
        break;
    case 7:
        $sql="SELECT $del_id FROM hojat where estado = 'Retencion por contrabando' AND (fechaingreso BETWEEN '$fecha11 ' AND '$fecha22 ' AND funcionario='$funcio') order by estado";
        break;
    
}
 
$result = mysqli_query($con,$sql);
$count = mysqli_num_rows($result);
 
$count_all= $count;
 
$array = array("N°",$del_id);
 
 
    
 
?>  
  <!DOCTYPE HTML>
<html>
    <head>
        <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
          <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>FIVPS</title>
        <link href="css/bootstrap.min.css" rel="stylesheet" />
        <link href="css/estilo.css" rel="stylesheet">   
        <link href="css/jquery-ui.css" rel="stylesheet">
        <style>
            #foto{
                float: right;
            }
        </style>
    </head>
    <body>    
        <div class=" container cuerpo">
        <br>
            <legend>Filtros para Exportar datos</legend>
            <br>
          <form name="consulta" id="consulta" method="GET" action="buscarPorFecha.php"> 
            <div class='row'>
                    <div class='col-sm-3'>    
                        <label for="fecha1">Desde</label>
                    </div>
                    <div class='col-sm-3'>
                        <label for="fecha2">Hasta</label>
                    </div>
                <div class='col-sm-2'>
                        <label for="filto">estado</label>
                    </div>
             </div>
            <div class='row'>
                    <div class='col-sm-3 col-offset-sm-3'>    
                        <div class='form-group'>
                            <input class="form-control" name="fecha1" id="fecha1"  size="30" type="text"/>
                        </div>
                    </div>
                    <div class='col-sm-3'>
                        <div class='form-group'>
                            <input class="form-control" name="fecha2" id="fecha2"  size="30" type="text" />
                        </div>
                    </div>
                <div class='col-sm-2'>
                        <div class='form-group'>
                            <select class="form-control" name="filtro" id="filtro">
                              <option value="0" selected>Todas</option>
                              <option value="1">Libre</option>
                              <option value="2">Validacion</option>
                              <option value="3">Valoracion</option>
                              <option value="4">Visto Bueno</option>
                              <option value="5">Retencion por Rotulado</option>
                              <option value="6">Retencion por Suspencion de Despacho</option>
                              <option value="7">Retencion por Contrabando</option>
                            </select>                         
                        </div>
                    </div>
                <div class='col-sm-4'>
                        <div class='form-group'>
                            <a  href="#" onclick="document.getElementById('consulta').submit()" type="button" class="btn btn-warning">Buscar</a>
                            
                        </div>
                    </div> 
             </div>
          </form>
            <br>
            <div id="loader">
                <center>
                    <div>Buscando..</div>
                </center>
                <br>
            </div>
            <div id="tabla">  
                <?php
  if ($count_all == 1) {
    echo "<span class='a'>$count_all resultado encontrado.</span>";
    //echo "<a type='button' class='btn btn-success btn-xs' href='pdf_fechas.php'>Imprimir</a>";
}else{
    echo "<span class='a'>$count_all resultados encontrados.</span>";
    if ($count_all!=0) {
        //echo "<a type='button' class='btn btn-success btn-xs' href='pdf_fechas.php'>Imprimir</a>";
    } 
}
 
        echo "<br>";
echo "<br>";
 
if($count_all > 0)
{
    echo "<div> 
                <center>
                    <a href='menu.php'>Volver</a>
                </center>
          </div>
          <br>";
 
echo"<table class='table table-hover table-bordered'>";
    echo "<thead>";
    foreach($array as $value) {
    echo "<th class='active' >$value</th>";
}
    echo "</thead>";
    while($row=mysqli_fetch_array($result))
    {     
    echo '<tr><td>'.$numero++.'</td><td>'.$row[$del_id].'</td></tr>';
    
    }
        
        echo "</table>";  
}
    }    
  ?>    
  necesito que aparezca todo en una tabla en columnas