there are guidlines that range from 2 hours to 48 depending on the dives and the flight.
Are you referring to the NOAA table? That does give shorter duration guidelines based upon your ending pressure group on the U.S. Navy tables, which I am guessing the OP might not be using. In addition, that table is based on climbing to altitude by means other than an airplane. For airplane travel, it says to wait 48 hours.
If you have another resource, I would be very interested in a specific identification.
Mala and I had an interesting discussion via PM. It led to an investigation that I will summarize.
In his post, he was referencing something he found online on an individual's web site: a table for ascent to altitude that was (in both our views) very liberal in how little time it required before flight after short dives. It was described as a 1989 table for commercial divers created by UHMS. In my research, I found that in 1989 UHMS published guidelines for flying after recreational diving that were more conservative than the current DAN guidelines. I learned that those guidelines were controversial and led to a conference with DAN that produced new DAN guidelines in 1991. I was able to find those 1989 recreational guidelines in a number of sources, including the abstract of the original UHMS publication.
I was not, however, able to find any other source for the supposed 1989 table for commercial divers. This table was liberal in that it allowed for flying relatively soon if the diver had not been under pressure for more than 60 minutes in the previous 12 hours, but its recommendations were otherwise more conservative than the DAN recommendations. The 2 hour wait time mentioned by Mala is actually for an ascent to a pressure of 2000 feet or less. That is actually more conservative than the DAN guidelines, which require no wait at all for such an ascent.