IF Formula

IF Formula

Hi, 

I'm having trouble setting up a custom formula in a field.

Can you help me with it? The formula should do the following:

If the created date is less or equal to 30 days the field should display a string New in pieline or Exisitng pipeline if above 30 days.

I have got the following so far
If(${Deals.Created Date}<=30, 'New in pipeline', 'Existing pipeline')